mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-06 08:11:35 +01:00
fix: remove format error from output
This commit is contained in:
2
smtp.py
2
smtp.py
@@ -6,7 +6,7 @@ def checkSMTPConnection(app):
|
|||||||
'''Check connection and login on SMTP server configured in app config'''
|
'''Check connection and login on SMTP server configured in app config'''
|
||||||
|
|
||||||
if not app.config["SMTP_MUST_BE_CONNECTED"]:
|
if not app.config["SMTP_MUST_BE_CONNECTED"]:
|
||||||
print("Warning: SMTP unusable: {}".format(e), file=sys.stderr)
|
print("Warning: SMTP unusable")
|
||||||
return
|
return
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user