From 7cab89348cb9aa38d464ac205adca164f3637c3f Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Wed, 4 Jan 2023 04:15:17 +0100 Subject: [PATCH] fix: remove format error from output --- smtp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smtp.py b/smtp.py index 4a7f999..1532508 100644 --- a/smtp.py +++ b/smtp.py @@ -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: