HookSystem: Fix typhint

This commit is contained in:
norohind committed 2022-04-15 00:48:48 +03:00
1 parent 244102c291
commit dd8b20ede0
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ class HookSystem:
self.hooks_deleted.remove(hook)
@check_int
def notify_inserted(self, operation_id: int | None) -> None:
def notify_inserted(self, operation_id: int) -> None:
self._notify(operation_id, self.hooks_inserted)
@check_int