From ccd94c90d33b7aee85117078576684fab5055ce5 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Mon, 19 Feb 2024 21:35:56 +0000 Subject: ruff lint fix: Manual non-breaking changes --- pydis_core/utils/scheduling.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pydis_core/utils/scheduling.py') diff --git a/pydis_core/utils/scheduling.py b/pydis_core/utils/scheduling.py index aa90b1e1..621fdd81 100644 --- a/pydis_core/utils/scheduling.py +++ b/pydis_core/utils/scheduling.py @@ -112,7 +112,7 @@ class Scheduler: def schedule_later( self, - delay: int | float, + delay: float, task_id: abc.Hashable, coroutine: abc.Coroutine ) -> None: @@ -156,7 +156,7 @@ class Scheduler: async def _await_later( self, - delay: int | float, + delay: float, task_id: abc.Hashable, coroutine: abc.Coroutine ) -> None: -- cgit v1.2.3