mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] avoid to overwrite an import name
This commit is contained in:
parent
fde312ad41
commit
bb87c41bc0
1 changed files with 1 additions and 2 deletions
|
@ -314,9 +314,8 @@ def tools_update(ignore_apps=False, ignore_packages=False):
|
|||
app_fetchlist()
|
||||
except MoulinetteError:
|
||||
pass
|
||||
app_list = os.listdir(apps_setting_path)
|
||||
|
||||
for app_id in app_list:
|
||||
for app_id in os.listdir(apps_setting_path):
|
||||
if '__' in app_id:
|
||||
original_app_id = app_id[:app_id.index('__')]
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue