diff options
author | Mark Powers <mark@marks.kitchen> | 2021-07-19 20:49:51 -0500 |
---|---|---|
committer | Mark Powers <mark@marks.kitchen> | 2021-07-19 20:49:51 -0500 |
commit | dc62736d843949a4f6a01cbd1af09c25a38673a9 (patch) | |
tree | 7efe8f9add595cff625c3c4fc549ce38f35c80c7 /main.py | |
parent | 5b2a3f0da147f17f6ab32af8e3d14fb29de71fd1 (diff) |
Refactor how some events work
Diffstat (limited to 'main.py')
-rwxr-xr-x | main.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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() |