@ -166,8 +166,8 @@ class Bureau(object):
self.load_config()
# setup log file
if hasattr(self.config, "debug"):
if "debug" in self.config:
if self.config.debug:
if self.config["debug"]:
log_level = logging.DEBUG
else:
log_level = logging.ERROR