Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1166 from forslund/bugfix/listener-queue-timeout
Browse files Browse the repository at this point in the history
Fix timeout of self.queue.get() in consumer
  • Loading branch information
LearnedVector authored Oct 17, 2017
2 parents af5f3a8 + e2666b4 commit 0f00b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mycroft/client/speech/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0f00b8e

Please sign in to comment.