issue #20: fix queue.get() parameter list.

This commit is contained in:
David Wilson 2017-09-27 13:54:15 +05:30
parent 19869da087
commit 48bf987570
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ def _queue_interruptible_get(queue, timeout=None, block=True):
msg = None
while msg is None and (timeout is None or timeout < time.time()):
try:
msg = queue.get(True, 0.5, block=block)
msg = queue.get(block, 0.5)
except Queue.Empty:
if block:
break