From d794bd4b787663779341aa9f4e73c81538b9763a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 25 Jun 2023 10:58:45 +0100 Subject: [PATCH] clears deprecation warning --- voicemeeterlib/updater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/voicemeeterlib/updater.py b/voicemeeterlib/updater.py index 90104d3..8b48d3e 100644 --- a/voicemeeterlib/updater.py +++ b/voicemeeterlib/updater.py @@ -27,7 +27,7 @@ class Producer(threading.Thread): if self._remote.event.ldirty: self.queue.put("ldirty") time.sleep(self._remote.ratelimit) - self.logger.debug(f"terminating {self.getName()} thread") + self.logger.debug(f"terminating {self.name} thread") self.queue.put(None) @@ -61,7 +61,7 @@ class Updater(threading.Thread): while True: event = self.queue.get() if event is None: - self.logger.debug(f"terminating {self.getName()} thread") + self.logger.debug(f"terminating {self.name} thread") break if event == "pdirty" and self._remote.pdirty: