1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-08-17 23:49:37 +02:00

only add non deprecated apps to themes.json

This commit is contained in:
GilbN 2021-10-03 18:18:13 +02:00
parent a6ed0378be
commit 61ce002e45

View File

@ -86,7 +86,7 @@ def create_json(app_folders: list = None, themes: list = None, no_sub_folders=Fa
app: { app: {
"base_css": f"https://{DOMAIN}/CSS/themes/{app}/{app}-base.css?sha={SHAS.get(f'{app}-base.css')}", "base_css": f"https://{DOMAIN}/CSS/themes/{app}/{app}-base.css?sha={SHAS.get(f'{app}-base.css')}",
"addons": ADDONS["addons"][app] if app in ADDONS["addons"] else {} "addons": ADDONS["addons"][app] if app in ADDONS["addons"] else {}
} for app in app_folders } for app in app_folders if not isfile(f'./CSS/themes/{app}/.deprecated')
} }
} }
) )