This commit is contained in:
Your Name
2024-02-16 19:31:03 -06:00
parent 19673dc652
commit 5c2c44b780
3 changed files with 11 additions and 10 deletions

View File

@@ -16,7 +16,6 @@ from openpilot.common.watcher import Watcher
REQUEST_HEADERS = {'User-Agent': "openpilot-" + get_version()}
def set_timezone(valid_timezones, timezone):
if timezone not in valid_timezones:
cloudlog.error(f"Timezone not supported {timezone}")
@@ -48,6 +47,8 @@ def main() -> NoReturn:
set_timezone(valid_timezones, timezone)
while True:
Watcher.log_watch("location", "starting")
time.sleep(60)
location = params.get("LastGPSPosition", encoding='utf8')