and
is how we write conjunctions in Python, so:
if msg.topic == "abc" and msg.payload == b'1':
solved Unsupported operand types for &: ‘str’ and ‘bytes’ in python [duplicate]
and
is how we write conjunctions in Python, so:
if msg.topic == "abc" and msg.payload == b'1':
solved Unsupported operand types for &: ‘str’ and ‘bytes’ in python [duplicate]