mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not fail if app list is not fetched
This commit is contained in:
parent
8f07c51168
commit
5335ffbcbe
1 changed files with 4 additions and 1 deletions
5
tools.py
5
tools.py
|
@ -334,7 +334,10 @@ def tools_update(ignore_apps=False, ignore_packages=False):
|
|||
|
||||
apps = []
|
||||
if not ignore_apps:
|
||||
app_fetchlist()
|
||||
try:
|
||||
app_fetchlist()
|
||||
except MoulinetteError:
|
||||
pass
|
||||
app_list = os.listdir(apps_setting_path)
|
||||
if len(app_list) > 0:
|
||||
for app_id in app_list:
|
||||
|
|
Loading…
Add table
Reference in a new issue