Skip to content
Snippets Groups Projects
Commit 15dd0c7b authored by Branson Stephens's avatar Branson Stephens Committed by Branson Stephens
Browse files

tested the null cases.

parent d3f2d5c1
No related branches found
No related tags found
No related merge requests found
......@@ -88,11 +88,12 @@ def issueEmailAlert(event, location):
for trigger in triggers:
for recip in trigger.contacts.all():
if not trigger.farThresh:
# toaddresses = settings.ALERT_EMAIL_TO
# bccaddresses = settings.ALERT_EMAIL_BCC
bccaddresses.append(recip.email)
else:
# Branson debugging.
# b2 = event.far < trigger.farThresh
# dfile.write("Second cond = %s\n" % b2);
# dfile.write("event.far = %f\n" % event.far);
if event.far and event.far < trigger.farThresh:
# toaddresses = settings.ALERT_EMAIL_TO
# bccaddresses = settings.ALERT_EMAIL_BCC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment