Browse Source

countdown of ttl fixed

master
Holger Frey 6 years ago
parent
commit
f988654975
  1. 2
      s2watchdog/__init__.py

2
s2watchdog/__init__.py

@ -127,6 +127,8 @@ def run():
data['time_to_live'] = GRACE_PERIOD * data['emails_sent'] data['time_to_live'] = GRACE_PERIOD * data['emails_sent']
send_alert_mail(data) send_alert_mail(data)
print("SEND MAIL") print("SEND MAIL")
else:
data['time_to_live'] = ttl
save_data(DATA_STORE_PATH, data) save_data(DATA_STORE_PATH, data)

Loading…
Cancel
Save