search-with-images40
All checks were successful
Deploy on push / deploy (push) Successful in 1m8s

This commit is contained in:
Untone 2024-06-02 19:24:23 +03:00
parent 23e46df8a9
commit 5f36b7c6e2

View File

@ -314,7 +314,7 @@ async def load_shouts_search(_, _info, text, limit=50, offset=0):
if result: if result:
logger.debug(result) logger.debug(result)
logger.debug(len(result)) logger.debug(len(result))
for shout in result: for [shout,] in result:
logger.debug(shout) logger.debug(shout)
shout.score = scores[f"{shout.id}"] shout.score = scores[f"{shout.id}"]
shouts.append(shout) shouts.append(shout)