subprocess-fix
All checks were successful
Deploy on push / deploy (push) Successful in 27s

This commit is contained in:
2024-05-06 10:53:27 +03:00
parent 49eec2de46
commit 55e28162fe
2 changed files with 6 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ async def cache_follower(follower: dict, author: dict, is_insert=True):
else:
followers = [e for e in followers if int(e["id"]) != author_id]
followers = list(set(followers))
followers = [dict(d) for d in set(tuple(d.items()) for d in followers)]
author_str = await redis.execute("GET", f"author:{follower_id}")
if isinstance(author_str, str):