mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: typo
This commit is contained in:
parent
aa16c52cbf
commit
877ac0636e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue