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'])