From 4a2ed9c4a176744e5f5719fcc6b8b5159b3afc7f Mon Sep 17 00:00:00 2001 From: blank X Date: Mon, 16 Nov 2020 00:45:03 +0700 Subject: [PATCH] Fix fix --- nhentai-comment-info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nhentai-comment-info.py b/nhentai-comment-info.py index aeea069..2749acf 100644 --- a/nhentai-comment-info.py +++ b/nhentai-comment-info.py @@ -26,7 +26,7 @@ async def nhentai_comment_info(client, message): info = await resp.json() text = f'{sauce}\n' if 'error' in info: - text += f'Error: {html.escape(info.get("error", "None"))}' + text += f'Error: {html.escape(info.get("error") or "None")}' else: text += 'Title: ' if info['title']['english']: