diff --git a/app.py b/app.py index 6b9f18a3f..8e2c0f17b 100644 --- a/app.py +++ b/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 ]