mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-24 00:13:52 +08:00
laikad: disable internet in non-replay CI (#28076)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user