fix: typo

This commit is contained in:
Terrtia 2018-11-05 14:30:03 +01:00
parent aa16c52cbf
commit 877ac0636e
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -37,7 +37,7 @@ def sendEmailNotification(recipient, alert_name, content):
sender_host = cfg.get("Notifications", "sender_host")
sender_port = cfg.getint("Notifications", "sender_port")
sender_pw = cfg.get("Notifications", "sender_pw")
if sender_pw = 'None':
if sender_pw == 'None':
sender_pw = None
# raise an exception if any of these is None