mirror of
https://github.com/TrentSPalmer/flask_photo_scaling_app.git
synced 2025-02-18 13:40:55 -08:00
fix style app/sendxmpp_handler.py
This commit is contained in:
parent
0a6c6a2afd
commit
cec0716bc3
@ -24,8 +24,10 @@ class SENDXMPPHandler(Handler):
|
|||||||
self.logging_xmpp_use_tls = logging_xmpp_use_tls
|
self.logging_xmpp_use_tls = logging_xmpp_use_tls
|
||||||
|
|
||||||
'''
|
'''
|
||||||
This works on Debian 10 with flask running under gunicorn3 as a systemd service, hack as necessary
|
This works on Debian 10 with flask running under
|
||||||
echo '<message>' | /usr/bin/sendxmpp -t -u <sender> -j <server> -p <password> <recipient@example.com>
|
gunicorn3 as a systemd service, hack as necessary
|
||||||
|
echo '<message>' | /usr/bin/sendxmpp -t -u <sender> \
|
||||||
|
-j <server> -p <password> <recipient@example.com>
|
||||||
'''
|
'''
|
||||||
def emit(self, record):
|
def emit(self, record):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user