diff --git a/__init__.py b/__init__.py index 202b4df..0106da4 100644 --- a/__init__.py +++ b/__init__.py @@ -50,7 +50,7 @@ def initialize(self): @property def wake_word(self): - default = Configuration.get().get('listener', {}).get('wake_word') + default = Configuration().get('listener', {}).get('wake_word') # with multiple wakewords we can't be 100% sure what the correct name is # a device might have multiple names # - if the wake_word is set in listener consider that the main wakeword @@ -58,7 +58,7 @@ def wake_word(self): # - else use the first hotword that listens and is set to self.lang, assume config is ordered by priority # - else use the first hotword that listens, assume config is ordered by priority - hotwords = Configuration.get().get('hotwords', {}) + hotwords = Configuration().get('hotwords', {}) if default in hotwords: return default