From ede42e45896d7a78116c2028ea0f8d09b1ea3506 Mon Sep 17 00:00:00 2001 From: DevilXD Date: Fri, 26 Aug 2022 13:36:43 +0200 Subject: [PATCH] WebsocketTopic uses as_str in its init now --- constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.py b/constants.py index a642368..4c106e2 100644 --- a/constants.py +++ b/constants.py @@ -216,8 +216,8 @@ class WebsocketTopic: target_id: int, process: TopicProcess, ): - self._id: str = f"{WEBSOCKET_TOPICS[category][topic_name]}.{target_id}" assert isinstance(target_id, int) + self._id: str = self.as_str(category, topic_name, target_id) self._target_id = target_id self._process: TopicProcess = process