laikad: disable internet in non-replay CI (#28076)

pull/28077/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent 64df41c9af
commit 9f87df66cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      selfdrive/locationd/laikad.py

@ -443,7 +443,7 @@ def main(sm=None, pm=None):
use_internet = False # "LAIKAD_NO_INTERNET" not in os.environ
replay = "REPLAY" in os.environ
if replay or "CI" in os.environ:
if replay:
use_internet = True
laikad = Laikad(save_ephemeris=not replay, auto_fetch_navs=use_internet, use_qcom=use_qcom)

Loading…
Cancel
Save