Skip to content

Commit

Permalink
Update pialert.py
Browse files Browse the repository at this point in the history
brainstorming

Regarding to #370
  • Loading branch information
leiweibau committed Oct 24, 2024
1 parent 811ca00 commit ee47df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion back/pialert.py
Original file line number Diff line number Diff line change
Expand Up @@ -3431,7 +3431,7 @@ def email_reporting():
' <td> {} </td><td> {} </td><td> {} </td></tr>\n'

# Issue #370
# AND eve_DateTime < datetime('now', '-{DELAY} minutes')
# AND eve_DateTime < datetime('now', '-{DELAY} minutes') for devices where dev_alarm_delay is true

sql.execute ("""SELECT * FROM Events_Devices
WHERE eve_PendingAlertEmail = 1
Expand Down

0 comments on commit ee47df2

Please sign in to comment.