This commit is contained in:
Johannes Kirschbauer
2023-11-04 09:16:37 +01:00
parent 3696ecbae5
commit 1ff5595dbc

View File

@@ -159,7 +159,6 @@ class TaskPool:
self.lock: threading.RLock = threading.RLock()
self.pool: dict[UUID, BaseTask] = {}
def __getitem__(self, uuid: UUID) -> BaseTask:
with self.lock:
return self.pool[uuid]