Skip to content

Commit

Permalink
Merge pull request #821 from asikeero/master
Browse files Browse the repository at this point in the history
Return correct object as client protocol
  • Loading branch information
PierreF authored Mar 24, 2024
2 parents bffe8e3 + 5773c90 commit 96cf6d9
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 96cf6d9

Please sign in to comment.