fix: remove format error from output

This commit is contained in:
Yannik Schmidt
2023-01-04 04:15:17 +01:00
parent 4dd7c77ce9
commit 7cab89348c

View File

@@ -6,7 +6,7 @@ def checkSMTPConnection(app):
'''Check connection and login on SMTP server configured in app config'''
if not app.config["SMTP_MUST_BE_CONNECTED"]:
print("Warning: SMTP unusable: {}".format(e), file=sys.stderr)
print("Warning: SMTP unusable")
return
try: