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

Commit

Permalink
Fix timeout of self.queue.get() in consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
forslund committed Oct 17, 2017
1 parent e1b4ad0 commit e2666b4
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 e2666b4

Please sign in to comment.