We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f71d527 commit f0b1ac4Copy full SHA for f0b1ac4
can/interfaces/virtual.py
@@ -41,7 +41,7 @@ def __init__(self, channel=None, **config):
41
42
def recv(self, timeout=None):
43
try:
44
- msg = self.queue.get(block=bool(timeout), timeout=timeout)
+ msg = self.queue.get(block=True, timeout=timeout)
45
except queue.Empty:
46
return None
47
0 commit comments