From b5f8f3cf84ec48bb53c6002d22157368686b33eb Mon Sep 17 00:00:00 2001 From: Disassembler Date: Tue, 26 Feb 2019 21:02:49 +0100 Subject: [PATCH] App is installed when it appears in packages, not in apps --- usr/lib/python3.6/vmmgr/wsgiapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/python3.6/vmmgr/wsgiapp.py b/usr/lib/python3.6/vmmgr/wsgiapp.py index 8c3d9d2..4b6dc0a 100644 --- a/usr/lib/python3.6/vmmgr/wsgiapp.py +++ b/usr/lib/python3.6/vmmgr/wsgiapp.py @@ -182,7 +182,7 @@ class WSGIApp: actionable_apps = sorted(set([k for k, v in online_packages.items() if 'title' in v] + list(self.conf['apps'].keys()))) app_data = {} for app in actionable_apps: - installed = app in self.conf['apps'] + installed = app in self.conf['packages'] title = self.conf['packages'][app]['title'] if installed else online_packages[app]['title'] visible = self.conf['apps'][app]['visible'] if installed else False autostarted = self.appmgr.is_service_autostarted(app) if installed else False