From 8926c8894cb891344257207e43f4a5174098e74c Mon Sep 17 00:00:00 2001 From: Untone Date: Fri, 27 Sep 2024 01:36:59 +0300 Subject: [PATCH] aredis --- store.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/store.py b/store.py index 66505ea..a6bccd2 100644 --- a/store.py +++ b/store.py @@ -1,5 +1,5 @@ from bot.config import REDIS_URL -import redis.asyncio as r +from redis import asyncio as aredis import logging # Create a logger instance @@ -7,7 +7,7 @@ logger = logging.getLogger('store') logging.basicConfig(level=logging.DEBUG) # Connect to Redis -redis = r.Redis.from_url(REDIS_URL) +redis = aredis.Redis.from_url(REDIS_URL) async def get_all_removed(uid):