wip
This commit is contained in:
@@ -47,14 +47,13 @@ def main() -> NoReturn:
|
||||
set_timezone(valid_timezones, timezone)
|
||||
|
||||
while True:
|
||||
Watcher.log_watch("location", "starting")
|
||||
|
||||
time.sleep(60)
|
||||
|
||||
location = params.get("LastGPSPosition", encoding='utf8')
|
||||
|
||||
# test
|
||||
Watcher.log_watch("location", location)
|
||||
Watcher.log_watch("LastGPSPosition", location)
|
||||
|
||||
# Find timezone by reverse geocoding the last known gps location
|
||||
if location is not None:
|
||||
|
||||
Reference in New Issue
Block a user