mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
catalog: autoreplace app level '?' to -1 for easier quality computation
This commit is contained in:
parent
dbd0981b25
commit
556e75ef08
1 changed files with 3 additions and 0 deletions
|
@ -250,6 +250,9 @@ def _load_apps_catalog():
|
|||
)
|
||||
continue
|
||||
|
||||
if info.get("level") == "?":
|
||||
info["level"] = -1
|
||||
|
||||
# FIXME: we may want to autoconvert all v0/v1 manifest to v2 here
|
||||
# so that everything is consistent in terms of APIs, datastructure format etc
|
||||
info["repository"] = apps_catalog_id
|
||||
|
|
Loading…
Add table
Reference in a new issue