Commit 97125e76 authored by Rob Carleski's avatar Rob Carleski 🇮🇸
Browse files

Fix config loading problems.

parent b611da36
......@@ -164,7 +164,7 @@ def main():
# Create a syslog handler, set format, and associate.
sh = logging.handlers.SysLogHandler(
address='/dev/log',
facility=args.config['general']['log_facility']
facility=config['general']['log_facility']
)
formatter = logging.Formatter(args.config['general']['log_format'])
sh.setFormatter(formatter)
......
Supports Markdown
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