Commit 75454efb authored by Peter-Bernd Otte's avatar Peter-Bernd Otte


parent 96c64719
......@@ -85,7 +85,7 @@ debug = True if args.verbosity>1 else False
if os.path.exists(args.config_file):
logger.debug("config file exists")
with open("config.yml", 'r') as ymlfile:
with open(args.config_file, 'r') as ymlfile:
cfg = yaml.full_load(ymlfile) # see
for section in cfg:
......@@ -140,4 +140,4 @@ while True:
time.sleep((1-time.time() % 1) * sleepTime) #every second, even if the processing before took longer
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment