fix: typo

pull/287/head
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
1 changed files with 1 additions and 1 deletions

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