again, overwriting the previous email assignment. Unless the testing phase is completed, no mails shall be sent to users except for the test-mail of bsmd
This commit is contained in:
parent
e2c532bd64
commit
2485a894a1
@ -415,6 +415,9 @@ class Notifier():
|
|||||||
# additionally, always inform the BSMD
|
# additionally, always inform the BSMD
|
||||||
email_tgts.append("bremencalling@bsmd.de") # #TODO: for testing, use "bremencalling@bsmd.de". For live system, use "report@bsmd.de"
|
email_tgts.append("bremencalling@bsmd.de") # #TODO: for testing, use "bremencalling@bsmd.de". For live system, use "report@bsmd.de"
|
||||||
|
|
||||||
|
# #TODO_development: overwrite the recipients. Only send to 'bremencalling@bsmd.de' until the testing phase has succeeded.
|
||||||
|
email_tgts = ["bremencalling@bsmd.de" for tgt in email_tgts]
|
||||||
|
|
||||||
# avoid multi-mails, when (for some reason) multiple users share the same email address.
|
# avoid multi-mails, when (for some reason) multiple users share the same email address.
|
||||||
email_tgts = list(set(email_tgts))
|
email_tgts = list(set(email_tgts))
|
||||||
return email_tgts
|
return email_tgts
|
||||||
|
|||||||
Reference in New Issue
Block a user