Skip to content

Commit

Permalink
fixing bug
Browse files Browse the repository at this point in the history
antoinefalisse committed Jul 5, 2024
1 parent 356195b commit fd46947
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utilsAPI.py
Original file line number Diff line number Diff line change
@@ -39,9 +39,12 @@ def getStatusEmails():
emailInfo['fromEmail'] = config("STATUS_EMAIL_FROM")
emailInfo['password'] = config("STATUS_EMAIL_FROM_PW")
emailInfo['toEmails'] = json.loads(config("STATUS_EMAIL_TO"))
emailInfo['ip'] = json.loads(config("STATUS_EMAIL_IP"))
except:
emailInfo = None
try:
emailInfo['ip'] = config("STATUS_EMAIL_IP")
except:
pass

return emailInfo

0 comments on commit fd46947

Please sign in to comment.