mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
fix: external downloads obey RETROBIOS_OFFLINE
This commit is contained in:
1 parent
c07a47362e
commit
cdf0aa6774
2 files changed
+20
-1
No files matched your search
@@ -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])
|
||||
|
||||
Reference in new issue
Block a user