diff --git a/mycroft/api/__init__.py b/mycroft/api/__init__.py index 45b24bf9f9..96facc396c 100644 --- a/mycroft/api/__init__.py +++ b/mycroft/api/__init__.py @@ -33,7 +33,7 @@ class Api(object): def __init__(self, path): self.path = path - config = ConfigurationManager().get() + config = ConfigurationManager.get() config_server = config.get("server") self.url = config_server.get("url") self.version = config_server.get("version") diff --git a/mycroft/client/speech/listener.py b/mycroft/client/speech/listener.py index 3c3eb5f74c..9f0bb9b19f 100644 --- a/mycroft/client/speech/listener.py +++ b/mycroft/client/speech/listener.py @@ -277,7 +277,7 @@ class RecognizerLoop(EventEmitter): while self.state.running: try: time.sleep(1) - if self._config_hash != hash(str(ConfigurationManager() + if self._config_hash != hash(str(ConfigurationManager .get())): LOG.debug('Config has changed, reloading...') self.reload()