Skip to content

Commit bcb504e

Browse files
committed
Tweak setting name
1 parent 0b605dd commit bcb504e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PyPortal_AlarmClock/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def tick(self, now):
223223
# only query the online time once per hour (and on first run)
224224
if (not self.refresh_time) or ((now - self.refresh_time) > 3600):
225225
try:
226-
pyportal.get_local_time(location=secrets['time_location'])
226+
pyportal.get_local_time(location=secrets['timezone'])
227227
self.refresh_time = now
228228
except RuntimeError as e:
229229
print('Some error occured, retrying! -', e)

0 commit comments

Comments
 (0)