This commit is contained in:
parent
fd22ec57eb
commit
cf0c2f1e8b
@ -42,13 +42,13 @@ class MQTT:
|
|||||||
"""
|
"""
|
||||||
return self.topic
|
return self.topic
|
||||||
|
|
||||||
def set_topic(self, topic: str) -> None:
|
def set_topic(self, _topic: str) -> None:
|
||||||
"""
|
"""
|
||||||
Get current topic
|
Get current topic
|
||||||
:param topic:
|
:param _topic:
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
self.topic = topic
|
self.topic = _topic
|
||||||
|
|
||||||
topic = property(get_topic, set_topic)
|
topic = property(get_topic, set_topic)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user