Made config-var global

master
Ruakij 3 years ago
parent 14e531256b
commit bc61e3f60f

@ -16,6 +16,7 @@ def main(args):
setupLogging(True) setupLogging(True)
log.debug("Logging started") log.debug("Logging started")
global config
config = readConfig("config.yml") config = readConfig("config.yml")
s = setupSocket(config['socket']['address'], config['socket']['port']) s = setupSocket(config['socket']['address'], config['socket']['port'])

Loading…
Cancel
Save