From 877ac0636ea1eaa0eae7ac4552804407bdb13785 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Mon, 5 Nov 2018 14:30:03 +0100 Subject: [PATCH] fix: typo --- bin/NotificationHelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/NotificationHelper.py b/bin/NotificationHelper.py index 1e3ab8a0..703f46e8 100755 --- a/bin/NotificationHelper.py +++ b/bin/NotificationHelper.py @@ -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