diff --git a/nhentai-comment-info.py b/nhentai-comment-info.py
index 8a24791..33b1cb6 100644
--- a/nhentai-comment-info.py
+++ b/nhentai-comment-info.py
@@ -25,7 +25,7 @@ async def nhentai_comment_info(client, message):
async with session.get(f'https://nhentai.net/api/gallery/{sauce}') as resp:
info = await resp.json()
text = f'{sauce}\n'
- if info.get('error'):
+ if 'error' in info:
text += f'Error: {html.escape(info.get("error"))}'
else:
text += 'Title: '