Skip to content

Commit

Permalink
only disable missing ZIM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rgaudin committed Jan 8, 2024
1 parent 18a4af1 commit ee814b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dashboard/refresh-zims.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def refresh_zims(

# first, adding files in config, in their original order, disabling missing ones
for ident, package in conf_packages.items():
if ident in fs_packages:
# make sure we keep non-ZIM packages
if ident in fs_packages or package.get("kind", "") != "zim":
package.pop("disabled", None)
else:
package["disabled"] = True
Expand Down

0 comments on commit ee814b9

Please sign in to comment.