Skip to content

Commit

Permalink
Return correct object as client protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
asikeero authored Feb 29, 2024
1 parent 6135207 commit 5773c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/paho/mqtt/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -953,7 +953,7 @@ def protocol(self) -> MQTTProtocolVersion:
This property is read-only.
"""
return self.protocol
return self._protocol

@property
def connect_timeout(self) -> float:
Expand Down

0 comments on commit 5773c90

Please sign in to comment.