Skip to content

Commit 5a96a49

Browse files
robertlong13tridge
authored andcommitted
DFReader: fix recv_match bug
1 parent 0b02800 commit 5a96a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DFReader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def recv_match(self, condition=None, type=None, blocking=False):
10161016
if type is not None:
10171017
# If we don't have any conditions, we don't need skip_to_type
10181018
# to add extra key messages to "type"
1019-
strict = condition is not None
1019+
strict = condition is None
10201020
self.skip_to_type(type, strict=strict)
10211021
m = self.recv_msg()
10221022
if m is None:

0 commit comments

Comments
 (0)