CONFIG_SPEC_PATH should be config_spec here, fixing.

This commit is contained in:
Christopher Allan Webber 2011-06-18 16:51:35 -05:00
parent 9dba44de84
commit e5aa1ec6b4

View File

@ -58,7 +58,7 @@ def read_mediagoblin_config(config_path, config_spec=CONFIG_SPEC_PATH):
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)