diff --git a/nhentai-comment-info.py b/nhentai-comment-info.py index 13d8652..aeea069 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"))}' + text += f'Error: {html.escape(info.get("error", "None"))}' else: text += 'Title: ' if info['title']['english']: