mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] upgrade without app and argument -u
This commit is contained in:
parent
02a701bcb6
commit
5339a28160
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
@ -284,7 +284,7 @@ def app_upgrade(auth, app=[], url=None, file=None):
|
||||||
upgraded_apps = []
|
upgraded_apps = []
|
||||||
|
|
||||||
# If no app is specified, upgrade all apps
|
# If no app is specified, upgrade all apps
|
||||||
if not app:
|
if not app and url == None:
|
||||||
app = os.listdir(apps_setting_path)
|
app = os.listdir(apps_setting_path)
|
||||||
elif not isinstance(app, list):
|
elif not isinstance(app, list):
|
||||||
app = [ app ]
|
app = [ app ]
|
||||||
|
|
Loading…
Add table
Reference in a new issue