mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Unstable apps if from_catalog is missing
This commit is contained in:
parent
48a094a6ff
commit
ee75e13312
1 changed files with 2 additions and 2 deletions
|
@ -2506,10 +2506,10 @@ def unstable_apps():
|
|||
|
||||
for infos in app_list(full=True)["apps"]:
|
||||
|
||||
if not infos.get("from_catalog") or infos.get("from_catalog").get("state") in [
|
||||
if not infos.get("from_catalog") or infos.get("from_catalog", {}).get("state") in [
|
||||
"inprogress",
|
||||
"notworking",
|
||||
] or infos["id"] in deprecated_apps or infos.get("from_catalog").get("level") == 0:
|
||||
] or infos["id"] in deprecated_apps or infos.get("from_catalog", {}).get("level") == 0:
|
||||
output.append(infos["id"])
|
||||
|
||||
return output
|
||||
|
|
Loading…
Add table
Reference in a new issue