1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-11-01 13:02:38 +00:00

Fix yet another denial error

This commit is contained in:
Myned 2019-11-05 10:45:44 -05:00
parent 49c1c90de0
commit fe7502af4d
No known key found for this signature in database
GPG key ID: BC58C09870A63E59

View file

@ -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]