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

Change semantics

This commit is contained in:
Myned 2022-02-22 13:02:06 -06:00
parent 4b24173ab2
commit 4e742ccef2
No known key found for this signature in database
GPG key ID: 33790F979F7A28B8

View file

@ -67,11 +67,11 @@ async def on_reverse_error(event):
case pysaucenao.DailyLimitReachedException(): case pysaucenao.DailyLimitReachedException():
error = "**Daily API limit reached. Please try again tomorrow.**" error = "**Daily API limit reached. Please try again tomorrow.**"
case pysaucenao.FileSizeLimitException() as url: case pysaucenao.FileSizeLimitException() as url:
error = f"**Image file size too large:**\n{url}" error = f"**Image file size too large.**\n{url}"
case pysaucenao.ImageSizeException() as url: case pysaucenao.ImageSizeException() as url:
error = f"**Image resolution too small:**\n{url}" error = f"**Image resolution too small.**\n{url}"
case pysaucenao.InvalidImageException() as url: case pysaucenao.InvalidImageException() as url:
error = f"**Invalid image:**\n{url}" error = f"**Invalid image.**\n{url}"
case pysaucenao.UnknownStatusCodeException(): case pysaucenao.UnknownStatusCodeException():
error = "**An unknown SauceNAO error has occurred. The service may be down.**" error = "**An unknown SauceNAO error has occurred. The service may be down.**"