1
0
Fork 0
mirror of https://github.com/YunoHost/apps.git synced 2024-09-03 20:06:07 +02:00

Don't include notworking apps in built list

This commit is contained in:
Alexandre Aubin 2021-04-09 00:17:47 +02:00
parent 0bb223abfc
commit 4004ff8d23

View file

@ -11,6 +11,7 @@ import time
now = time.time() now = time.time()
catalog = json.load(open("apps.json")) catalog = json.load(open("apps.json"))
catalog = {app: infos for app, infos in catalog.items() if infos.get('state') != 'notworking'}
my_env = os.environ.copy() my_env = os.environ.copy()
my_env["GIT_TERMINAL_PROMPT"] = "0" my_env["GIT_TERMINAL_PROMPT"] = "0"