From e1714799d3331b43d2d67d21d980562a41368068 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Tue, 20 Jun 2023 13:17:48 +0100 Subject: [PATCH] rm wait_while_speaking (#30) --- __init__.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/__init__.py b/__init__.py index 7323656b..1ee227ec 100644 --- a/__init__.py +++ b/__init__.py @@ -25,7 +25,6 @@ from ovos_utils.intents import IntentBuilder from ovos_utils.process_utils import RuntimeRequirements from ovos_utils.time import now_utc, now_local, to_local -from ovos_utils.sound import wait_while_speaking from ovos_workshop.decorators import intent_handler, skill_api_method from ovos_workshop.skills import OVOSSkill from timezonefinder import TimezoneFinder @@ -380,7 +379,6 @@ def handle_query_time(self, message): self.enclosure.deactivate_mouth_events() self.display(self.get_display_current_time(location)) time.sleep(5) - wait_while_speaking() self.enclosure.mouth_reset() self.enclosure.activate_mouth_events() self.answering_query = False @@ -414,7 +412,6 @@ def handle_query_future_time(self, message): self.enclosure.deactivate_mouth_events() self.display(self.get_display_current_time(location, dt)) time.sleep(5) - wait_while_speaking() self.enclosure.mouth_reset() self.enclosure.activate_mouth_events() self.answering_query = False @@ -500,7 +497,6 @@ def handle_query_date(self, message, response_type="simple"): self.answering_query = True self.show_date(location, day=day) time.sleep(10) - wait_while_speaking() self.enclosure.mouth_reset() self.enclosure.activate_mouth_events() self.answering_query = False