Skip to content

Commit

Permalink
- Add new lines to the message start to separate subject and body of …
Browse files Browse the repository at this point in the history
…the SMS

- Update sphinx documentation to 4.1.2
  • Loading branch information
dormant-user committed Aug 11, 2021
1 parent e902477 commit 22a7325
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,9 @@ Change Log

0.2.2 (08/02/2021)
------------------
- Fix incorrect HTTP return codes
- Fix incorrect HTTP return codes

0.2.3 (08/11/2021)
------------------
- Add new lines to the message start to separate subject and body of the SMS
- Update sphinx documentation to 4.1.2
8 changes: 7 additions & 1 deletion docs/_static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ var Search = {
setTimeout(function() {
displayNextItem();
}, 5);
} else {
} else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) {
$.ajax({url: requestUrl,
dataType: "text",
complete: function(jqxhr, textstatus) {
Expand All @@ -289,6 +289,12 @@ var Search = {
displayNextItem();
}, 5);
}});
} else {
// no source available, just display title
Search.output.append(listItem);
setTimeout(function() {
displayNextItem();
}, 5);
}
}
// search finished, update title and status message
Expand Down
2 changes: 1 addition & 1 deletion docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2021, Vignesh Sivanandha Rao.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.1.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.2.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2021, Vignesh Sivanandha Rao.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.1.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.2.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2021, Vignesh Sivanandha Rao.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.1.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.2.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h3>Navigation</h3>
</div>
<div class="footer" role="contentinfo">
&#169; Copyright 2021, Vignesh Sivanandha Rao.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.1.
Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.1.2.
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion gmailconnector/send_sms.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def __init__(self, gmail_user: str, gmail_pass: str, phone_number: str, message:
self.password = gmail_pass
self.phone_number = phone_number
self.subject = subject
self.message = message
self.message = f'\n\n{message}'
self.server = SMTP("smtp.gmail.com", 587)

def __del__(self):
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version_info = (0, 2, 2)
version_info = (0, 2, 3)

0 comments on commit 22a7325

Please sign in to comment.