We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b605dd commit bcb504eCopy full SHA for bcb504e
1 file changed
PyPortal_AlarmClock/code.py
@@ -223,7 +223,7 @@ def tick(self, now):
223
# only query the online time once per hour (and on first run)
224
if (not self.refresh_time) or ((now - self.refresh_time) > 3600):
225
try:
226
- pyportal.get_local_time(location=secrets['time_location'])
+ pyportal.get_local_time(location=secrets['timezone'])
227
self.refresh_time = now
228
except RuntimeError as e:
229
print('Some error occured, retrying! -', e)
0 commit comments