Skip to content

Commit

Permalink
Remove patching of dropped imports
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Sep 14, 2024
1 parent 9edefcf commit 7978d6f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions neon_audio/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,7 @@ def __init__(self, ready_hook=on_ready, error_hook=on_error,
from neon_audio.utils import patch_config
patch_config(audio_config)
bus = bus or get_messagebus()
# Override all the previously loaded signal methods
from neon_utils.signal_utils import init_signal_handlers, \
init_signal_bus
init_signal_bus(bus)
init_signal_handlers()
from neon_utils.signal_utils import create_signal, check_for_signal
import ovos_audio.service
ovos_audio.service.check_for_signal = check_for_signal
ovos_plugin_manager.templates.tts.check_for_signal = check_for_signal
ovos_plugin_manager.templates.tts.create_signal = create_signal
from neon_utils.signal_utils import create_signal

from neon_audio.tts.neon import NeonPlaybackThread
import ovos_audio.playback
Expand Down

0 comments on commit 7978d6f

Please sign in to comment.