pep8
parent
faf2e9f3b3
commit
805aefc0d7
|
@ -34,6 +34,7 @@ REMOTE_CONFIG = "mycroft.ai"
|
||||||
|
|
||||||
load_order = [DEFAULT_CONFIG, REMOTE_CONFIG, SYSTEM_CONFIG, USER_CONFIG]
|
load_order = [DEFAULT_CONFIG, REMOTE_CONFIG, SYSTEM_CONFIG, USER_CONFIG]
|
||||||
|
|
||||||
|
|
||||||
class ConfigurationLoader(object):
|
class ConfigurationLoader(object):
|
||||||
"""
|
"""
|
||||||
A utility for loading Mycroft configuration files.
|
A utility for loading Mycroft configuration files.
|
||||||
|
@ -165,7 +166,8 @@ class ConfigurationManager(object):
|
||||||
if location == REMOTE_CONFIG:
|
if location == REMOTE_CONFIG:
|
||||||
RemoteConfiguration.load(ConfigurationManager.__config)
|
RemoteConfiguration.load(ConfigurationManager.__config)
|
||||||
else:
|
else:
|
||||||
ConfigurationManager.__config = ConfigurationLoader.load(ConfigurationManager.__config, [location])
|
ConfigurationManager.__config = ConfigurationLoader.load(
|
||||||
|
ConfigurationManager.__config, [location])
|
||||||
return ConfigurationManager.__config
|
return ConfigurationManager.__config
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue