fix: external downloads obey RETROBIOS_OFFLINE

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 21:42:19 +01:00
1 parent c07a47362e
commit cdf0aa6774
2 files changed
+20 -1

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ def download_external(
if declared is None:
print(f" WARNING: no hash for {name}, skipping unverifiable download")
return False
if OFFLINE if offline is None else offline:
if run_is_offline(offline):
print(f" WARNING: {name} is external and the run is offline, not fetched")
return False
algo, expected = declared[0], set(declared[1])