diff --git a/vban_cmd/worker.py b/vban_cmd/worker.py index 5ceb619..11b9cac 100644 --- a/vban_cmd/worker.py +++ b/vban_cmd/worker.py @@ -93,7 +93,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) @@ -126,7 +126,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: