Compare commits

..

1 Commits

Author SHA1 Message Date
Thomas Klaehn
a43c556341 config: Move config file 2021-04-06 08:33:08 +02:00

View File

@ -96,6 +96,7 @@ class GreenControl(Thread):
if self.__trigger_read_config: if self.__trigger_read_config:
self.__trigger_read_config = False self.__trigger_read_config = False
log.info(os.getcwd()) log.info(os.getcwd())
sleep(5)
with open(self.cfg_file, "r") as f: with open(self.cfg_file, "r") as f:
self.config = json.load(f) self.config = json.load(f)
now = datetime.datetime.now() now = datetime.datetime.now()