From d82ba7a975cb6df6f1d250ff47dec86684d07215 Mon Sep 17 00:00:00 2001 From: alemidev Date: Mon, 22 Nov 2021 02:55:58 +0100 Subject: [PATCH] create also _tasks holder --- aiocraft/traits/callbacks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aiocraft/traits/callbacks.py b/aiocraft/traits/callbacks.py index 178e0b4..026e0d0 100644 --- a/aiocraft/traits/callbacks.py +++ b/aiocraft/traits/callbacks.py @@ -11,6 +11,7 @@ class CallbacksHolder: def __init__(self): super().__init__() self._callbacks = {} + self._tasks = {} def register(self, key:Any, callback:Callable): if key not in self._callbacks: