Fix fix
This commit is contained in:
parent
4ecdfb2f63
commit
4a2ed9c4a1
|
@ -26,7 +26,7 @@ async def nhentai_comment_info(client, message):
|
||||||
info = await resp.json()
|
info = await resp.json()
|
||||||
text = f'<b>{sauce}</b>\n<b>'
|
text = f'<b>{sauce}</b>\n<b>'
|
||||||
if 'error' in info:
|
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:
|
else:
|
||||||
text += 'Title:</b> '
|
text += 'Title:</b> '
|
||||||
if info['title']['english']:
|
if info['title']['english']:
|
||||||
|
|
Loading…
Reference in New Issue