From dd8b20ede012bae918eecb71fe375ced2b5cfef9 Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Fri, 15 Apr 2022 00:48:48 +0300 Subject: [PATCH] HookSystem: Fix typhint --- HookSystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HookSystem.py b/HookSystem.py index f246ebe..b990469 100644 --- a/HookSystem.py +++ b/HookSystem.py @@ -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