wip
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user