From e2666b46ed82d80e079ab00ad819242b9cdd37a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=85ke=20Forslund?= Date: Tue, 17 Oct 2017 21:54:33 +0200 Subject: [PATCH] Fix timeout of self.queue.get() in consumer --- mycroft/client/speech/listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mycroft/client/speech/listener.py b/mycroft/client/speech/listener.py index 5e1f8dacf378..ecbf624138ea 100644 --- a/mycroft/client/speech/listener.py +++ b/mycroft/client/speech/listener.py @@ -97,7 +97,7 @@ def run(self): def read(self): try: - audio = self.queue.get(0.5) + audio = self.queue.get(timeout=0.5) except Empty: return