mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 13:02:38 +00:00
Change semantics
This commit is contained in:
parent
4b24173ab2
commit
4e742ccef2
1 changed files with 3 additions and 3 deletions
|
@ -67,11 +67,11 @@ async def on_reverse_error(event):
|
|||
case pysaucenao.DailyLimitReachedException():
|
||||
error = "**Daily API limit reached. Please try again tomorrow.**"
|
||||
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:
|
||||
error = f"**Image resolution too small:**\n{url}"
|
||||
error = f"**Image resolution too small.**\n{url}"
|
||||
case pysaucenao.InvalidImageException() as url:
|
||||
error = f"**Invalid image:**\n{url}"
|
||||
error = f"**Invalid image.**\n{url}"
|
||||
case pysaucenao.UnknownStatusCodeException():
|
||||
error = "**An unknown SauceNAO error has occurred. The service may be down.**"
|
||||
|
||||
|
|
Loading…
Reference in a new issue