config_path = os.path.abspath(config_path)
config_spec = ConfigObj(
- CONFIG_SPEC_PATH,
+ config_spec,
encoding='UTF8', list_values=False, _inspec=True)
_setup_defaults(config_spec, config_path)
return config, validation_result
-REPORT_HEADER = """\
+REPORT_HEADER = u"""\
There were validation problems loading this config file:
--------------------------------------------------------
"""