From cf0c2f1e8b861a71f0290a58b1086a67dc11fc78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Thu, 6 Aug 2020 16:48:04 +0200 Subject: [PATCH] fix recursion --- src/mqtt_helper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mqtt_helper.py b/src/mqtt_helper.py index 2f4d043..12b9d2f 100644 --- a/src/mqtt_helper.py +++ b/src/mqtt_helper.py @@ -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)