HookSystem: Fix typhint

This commit is contained in:
norohind 2022-04-15 00:48:48 +03:00
parent 244102c291
commit dd8b20ede0
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

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