Made config-var global

master
Ruakij 3 years ago
parent 14e531256b
commit bc61e3f60f

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

Loading…
Cancel
Save