fix recursion
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-08-06 16:48:04 +02:00
parent fd22ec57eb
commit cf0c2f1e8b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -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)