Sense of block= parameter was inverted.

pull/45/head
David Wilson 7 years ago
parent 126080019d
commit 044bfe5f4d

@ -273,7 +273,7 @@ def _queue_interruptible_get(queue, timeout=None, block=True):
try:
msg = queue.get(block, 0.5)
except Queue.Empty:
if block:
if not block:
break
if msg is None:

Loading…
Cancel
Save