This commit is contained in:
nikili0n 2023-09-26 00:19:08 +03:00 committed by Dantenerosas
parent ed267e065f
commit 00c10a4145

View File

@ -63,7 +63,6 @@ queue_name -> {
async def is_task_already_done_or_exist(redis: RedisClient, link: str): async def is_task_already_done_or_exist(redis: RedisClient, link: str):
messages = await redis.get_task_done_queue() messages = await redis.get_task_done_queue()
temp = [json.loads(msg) for msg in messages] temp = [json.loads(msg) for msg in messages]
print(temp)
tasks = [ tasks = [
msg for msg in temp msg for msg in temp
if msg["link"] == link if msg["link"] == link