mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-23 06:37:15 +00:00
Flask_terms.py: Fixed mapping of notifcation e-mails to terms with uppercase letters
This commit is contained in:
parent
fd329aaba9
commit
b6fcf51309
1 changed files with 27 additions and 28 deletions
|
@ -332,8 +332,7 @@ def terms_management_action():
|
||||||
|
|
||||||
# add all valid emails to the set
|
# add all valid emails to the set
|
||||||
for email in validNotificationEmails:
|
for email in validNotificationEmails:
|
||||||
r_serv_term.sadd(TrackedTermsNotificationEmailsPrefix_Name + term, email)
|
r_serv_term.sadd(TrackedTermsNotificationEmailsPrefix_Name + term.lower(), email)
|
||||||
print "added " + email + " for " + TrackedTermsNotificationEmailsPrefix_Name + term
|
|
||||||
|
|
||||||
# enable notifications by default
|
# enable notifications by default
|
||||||
r_serv_term.sadd(TrackedTermsNotificationEnabled_Name, term.lower())
|
r_serv_term.sadd(TrackedTermsNotificationEnabled_Name, term.lower())
|
||||||
|
|
Loading…
Reference in a new issue