From 17e1b17a7881365cb58c8e9b357efa2442dc665c Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 16 Jun 2024 17:03:48 +0300 Subject: [PATCH] fix log entry --- service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.py b/service.py index 985916d..07d9fab 100755 --- a/service.py +++ b/service.py @@ -20,8 +20,8 @@ def stop_gracefully(signum, frame): async def checker(check: Callable | Coroutine, interval_secs: int, client: nio.AsyncClient, *args, **kwargs): - logging.info(f"Calling {check.__name__}") while True: + logging.info(f"Calling {check.__name__}") if isinstance(check, Callable): result = check(*args, **kwargs) if isinstance(result, Coroutine):