adding updates to the sign

This commit is contained in:
Lucas
2022-03-31 00:14:37 -04:00
parent f3d987ecbc
commit 6210984b74
2 changed files with 28 additions and 8 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ class CalGrab(object):
events = [Event.get_from_gcal_api_json(json) for json in events]
for callback in self.callbacks:
callback(events)
if (now-start).total_seconds() > time_to_update:
if time_to_update > 0 and (now-start).total_seconds() > time_to_update:
return
sleep(frequency)
except HttpError as error: