tici: always run updated (#21249)

pull/20825/head^2
Adeeb Shihadeh 4 years ago committed by GitHub
parent 7009ba0344
commit 4dfdf0e51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/updated.py

@ -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 or time_wrong:
if (is_onroad and EON) or time_wrong:
wait_helper.sleep(30)
cloudlog.info("not running updater, not offroad")
continue

Loading…
Cancel
Save