diff --git a/app/config.py b/app/config.py index bbc1112..afd9129 100644 --- a/app/config.py +++ b/app/config.py @@ -71,7 +71,7 @@ class Config(object): ##-----------------------------------------------------------------------------------## path = os.path.dirname(os.path.abspath(__file__)) path = path.replace('/app', '') - print(path) + #print(path) if(type == "settings"): print("Writing 'settings.json'") with open(path + '/config/settings.json', 'w') as outfile: diff --git a/app/webserver.py b/app/webserver.py index f215ff8..ebc81be 100644 --- a/app/webserver.py +++ b/app/webserver.py @@ -11,6 +11,8 @@ class Webserver(object): self.settings = config.read("settings") self.devices = config.read("devices") self.config = {} + print(self.settings) + print(self.devices) ##-----------------------------------------------------------------------------------## def createConfig(self, module, devices, config):