Skip to content

Commit 96cf6d9

Browse files
authored
Merge pull request #821 from asikeero/master
Return correct object as client protocol
2 parents bffe8e3 + 5773c90 commit 96cf6d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paho/mqtt/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ def protocol(self) -> MQTTProtocolVersion:
953953
954954
This property is read-only.
955955
"""
956-
return self.protocol
956+
return self._protocol
957957

958958
@property
959959
def connect_timeout(self) -> float:

0 commit comments

Comments
 (0)