summaryrefslogtreecommitdiffstats
path: root/api/commands/system.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/commands/system.py')
-rw-r--r--api/commands/system.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/commands/system.py b/api/commands/system.py
index 36bf24ed..9b55cdb1 100644
--- a/api/commands/system.py
+++ b/api/commands/system.py
@@ -40,7 +40,7 @@ def test_email(email):
msg.html = render_template("email/test_email.html", instance=instance)
try:
mail.send(msg)
- except: # noqa: E772
+ except: # noqa: E722
print(f"Error sending mail: {sys.exc_info()[0]}")