We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b163dcd commit d834eb5Copy full SHA for d834eb5
1 file changed
brping/pingmessage.py
@@ -470,7 +470,7 @@ def parse_byte(self, msg_byte):
470
for byte in test_protocol_version_buf:
471
result = p.parse_byte(byte)
472
473
- if result is p.NEW_MESSAGE:
+ if result == p.NEW_MESSAGE:
474
print(p.rx_msg)
475
else:
476
print("fail:", result)
@@ -481,7 +481,7 @@ def parse_byte(self, msg_byte):
481
for byte in test_profile_buf:
482
483
484
485
486
487
0 commit comments