aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rwxr-xr-xmain.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.py b/main.py
index 10d4bb4..c72147c 100755
--- a/main.py
+++ b/main.py
@@ -39,8 +39,9 @@ if __name__ == "__main__":
# If we matched a sequence, play out event
if response is not None:
processing_event.set()
- response.speak()
- processing_event.clear()
+ response.run()
except Exception as e:
print(e)
+ finally:
+ processing_event.clear()