From 805ceb79beea66481e77c733289e76a99f8df777 Mon Sep 17 00:00:00 2001 From: abeudin Date: Sat, 13 Dec 2014 16:32:26 +0100 Subject: [PATCH] Update app.py --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ]