Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
JarbasAl and coderabbitai[bot] authored Oct 23, 2024
1 parent 7227037 commit fd4e33b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_dinkum_listener/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def __init__(self, on_ready=on_ready, on_error=on_error,
self.vad = vad or OVOSVADFactory.create()
self.stt = stt or load_stt_module()
self.disable_fallback = disable_fallback
self.disable_reload = stt is None
self.disable_reload = stt is not None
if disable_fallback:
self.fallback_stt = None
else:
Expand Down Expand Up @@ -1086,7 +1086,7 @@ def reload_configuration(self):
Configuration object reports a change
"""
if self._config_hash() == self._applied_config_hash:
LOG.debug(f"No relevant configuration changed")
LOG.debug("No relevant configuration changed")
return
LOG.info("Reloading changed configuration")
if not self._load_lock.acquire(timeout=30):
Expand Down

0 comments on commit fd4e33b

Please sign in to comment.