mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-27 05:12:06 +08:00
Revert "tici: always run updated (#21249)"
This reverts commit 60ba93bd1be24e022552da1545dca9b61d2584b7.
old-commit-hash: 715dbd4882
This commit is contained in:
@@ -371,7 +371,7 @@ def main():
|
||||
# Don't run updater while onroad or if the time's wrong
|
||||
time_wrong = datetime.datetime.utcnow().year < 2019
|
||||
is_onroad = not params.get_bool("IsOffroad")
|
||||
if (is_onroad and EON) or time_wrong:
|
||||
if is_onroad or time_wrong:
|
||||
wait_helper.sleep(30)
|
||||
cloudlog.info("not running updater, not offroad")
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user