From f27e1fd21cb1c7ac650da5d32e5312f5e41e0d31 Mon Sep 17 00:00:00 2001 From: Sebastian Lobinger <sebastian.lobinger@zib.de> Date: Fri, 28 Jul 2017 13:02:03 +0200 Subject: [PATCH] update SAMSHub.app to still return SAMSApp Object instead of a dict by changing addApp it is necessary to change this method according to the new _appList and _apps structure --- sams_classes/sams_hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sams_classes/sams_hub.py b/sams_classes/sams_hub.py index e78525f..74805da 100644 --- a/sams_classes/sams_hub.py +++ b/sams_classes/sams_hub.py @@ -51,7 +51,7 @@ class SAMSHub: def app(self, name): try: - return self._apps[name] + return self._apps[name]['app'] except: raise AppNotExist -- GitLab