mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
do not fetch catalogs registered with no url
(#1535)
Do not fetch catalogs registered with no `url`
This commit is contained in:
parent
079c3fab00
commit
07d61a83ae
1 changed files with 3 additions and 0 deletions
|
@ -173,6 +173,9 @@ def _update_apps_catalog():
|
||||||
mkdir(APPS_CATALOG_CACHE, mode=0o750, parents=True, uid="root")
|
mkdir(APPS_CATALOG_CACHE, mode=0o750, parents=True, uid="root")
|
||||||
|
|
||||||
for apps_catalog in apps_catalog_list:
|
for apps_catalog in apps_catalog_list:
|
||||||
|
if apps_catalog["url"] is None:
|
||||||
|
continue
|
||||||
|
|
||||||
apps_catalog_id = apps_catalog["id"]
|
apps_catalog_id = apps_catalog["id"]
|
||||||
actual_api_url = _actual_apps_catalog_api_url(apps_catalog["url"])
|
actual_api_url = _actual_apps_catalog_api_url(apps_catalog["url"])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue