From 22a529e866d9d6928af8ede485b7dba5ff994bfb Mon Sep 17 00:00:00 2001 From: Untone Date: Thu, 26 Sep 2024 19:41:55 +0300 Subject: [PATCH] log2 --- handlers/messages_routing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/messages_routing.py b/handlers/messages_routing.py index a07f9f9..8e97e42 100644 --- a/handlers/messages_routing.py +++ b/handlers/messages_routing.py @@ -36,7 +36,7 @@ async def messages_routing(msg, state): pattern = f"toxic:{cid}:{uid}:*" scores = [] found = await redis.scan_iter(pattern) - logger.debug(f'found {len(found) messages}') + logger.debug(f'found {len(found)} messages') for key in found: scr = await redis.get(key) if isinstance(scr, int):