Add missing )

This commit is contained in:
blank X 2021-05-07 19:50:35 +07:00
parent 399d8a206c
commit 2bb3713f8c
Signed by: blankie
GPG Key ID: CC15FC822C7F61F5
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ async def loli(client, inline_query):
data = data['data'][0]
title = f'{data["title"]} by {data["author"]}'
description = None
caption = f'<a href="https://pixiv.net/artworks/{data["pid"]}">{html.escape(data["title"])}</a> by <a href="https://pixiv.net/users/{data["uid"]}">{html.escape(data["author"]}</a>\n'
caption = f'<a href="https://pixiv.net/artworks/{data["pid"]}">{html.escape(data["title"])}</a> by <a href="https://pixiv.net/users/{data["uid"]}">{html.escape(data["author"])}</a>\n'
if data['tags']:
caption += f'<b>Tags:</b> {html.escape(", ".join(data["tags"]))}'
description = f'Tags: {", ".join(data["tags"])}'