From bc61e3f60f72447f23d63258166a8350877d826b Mon Sep 17 00:00:00 2001 From: Ruakij Date: Mon, 2 Aug 2021 13:53:05 +0200 Subject: [PATCH] Made config-var global --- daemon.py | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon.py b/daemon.py index 4e5907b..08e8f3e 100755 --- a/daemon.py +++ b/daemon.py @@ -16,6 +16,7 @@ def main(args): setupLogging(True) log.debug("Logging started") + global config config = readConfig("config.yml") s = setupSocket(config['socket']['address'], config['socket']['port'])