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']: