adding updates to the sign

This commit is contained in:
Lucas committed 2022-03-31 00:14:37 -04:00
1 parent f3d987ecbc
commit 6210984b74
2 files changed
+28 -8

No files matched your search

+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: