From 7f7e856c837fc21a0ae5fc5b8b556c2848205803 Mon Sep 17 00:00:00 2001
From: Sebastian Lobinger <sebastian.lobinger@zib.de>
Date: Thu, 14 Sep 2017 15:45:06 +0200
Subject: [PATCH] update __init__.py, replace hub_conf_key with conf_part_hub
 fixes #1

---
 __init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/__init__.py b/__init__.py
index 873ba3a..809c2af 100644
--- a/__init__.py
+++ b/__init__.py
@@ -6,7 +6,7 @@ def create(conf_part_hub, conf_part_apps = 'apps',
            config_file_path = 'config/config.yaml', dir_apps = '.'):
   with open(config_file_path, 'r') as f:
     hubConf = yaml.load(f.read())
-  hub = SAMSHub(name= __name__, config=hubConf[hub_conf_key])
+  hub = SAMSHub(name= __name__, config=hubConf[conf_part_hub])
   hub.flaskApp.config.update(hubConf.get('flask', {}))
   for appEntry in hubConf['apps']:
     appName = appEntry['name']
-- 
GitLab