This commit is contained in:
blank X 2020-11-16 00:45:03 +07:00
parent 4ecdfb2f63
commit 4a2ed9c4a1
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ async def nhentai_comment_info(client, message):
info = await resp.json()
text = f'<b>{sauce}</b>\n<b>'
if 'error' in info:
text += f'Error:</b> {html.escape(info.get("error", "None"))}'
text += f'Error:</b> {html.escape(info.get("error") or "None")}'
else:
text += 'Title:</b> '
if info['title']['english']: