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):