mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update app.py
This commit is contained in:
parent
5339a28160
commit
805ceb79be
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 = []
|
||||
|
||||
# If no app is specified, upgrade all apps
|
||||
if not app and url == None:
|
||||
if not app and (not url or file):
|
||||
app = os.listdir(apps_setting_path)
|
||||
elif not isinstance(app, list):
|
||||
app = [ app ]
|
||||
|
|
Loading…
Add table
Reference in a new issue