From 9f87df66cb087477bc70af2e5b4e27e6865e7a6f Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 1 May 2023 22:02:06 -0700 Subject: [PATCH] laikad: disable internet in non-replay CI (#28076) --- selfdrive/locationd/laikad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/locationd/laikad.py b/selfdrive/locationd/laikad.py index 8b07c46aaa..d0828058a9 100755 --- a/selfdrive/locationd/laikad.py +++ b/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)