We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03f426c commit f337bb6Copy full SHA for f337bb6
src/publisher/core.py
@@ -21,11 +21,11 @@ class Publisher(ABC):
21
def __init__(self, config: Configuration):
22
self.__configuration = config
23
self.__command_listener = None
24
- self.__topic_root = self.__remove_special_mqtt_characters(config.mqtt_topic)
25
if config.mqtt_allow_dots_in_topic:
26
self.__invalid_mqtt_chars = re.compile(r'[+#*$>]')
27
else:
28
self.__invalid_mqtt_chars = re.compile(r'[+#*$>.]')
+ self.__topic_root = self.__remove_special_mqtt_characters(config.mqtt_topic)
29
30
async def connect(self):
31
pass
0 commit comments