From fe7502af4dcec9ad8b4f3bba9efa34a142ebd66b Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 5 Nov 2019 10:45:44 -0500 Subject: [PATCH] Fix yet another denial error --- src/utils/scraper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/scraper.py b/src/utils/scraper.py index 35ff235..cb9decf 100644 --- a/src/utils/scraper.py +++ b/src/utils/scraper.py @@ -85,7 +85,8 @@ async def query_saucenao(url): if content['header'].get('message', '') in ( 'Access to specified file was denied... ;_;', - 'Problem with remote server...'): + 'Problem with remote server...', + 'image dimensions too small...'): raise exc.ImageError match = content['results'][0]