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