1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-15 07:37:40 +00:00

Added missing language bit (fixes #2187)

Added handling of wrong .jpg cover file content
Guest sorting options are now stored in the session
Updated teststatus
This commit is contained in:
Ozzie Isaacs
2021-11-23 19:32:11 +01:00
parent 2e0d0a2429
commit a1d372630d
43 changed files with 1644 additions and 3544 deletions

View File

@@ -646,7 +646,7 @@ def save_cover(img, book_path):
imgc.format = 'jpeg'
imgc.transform_colorspace("rgb")
img = imgc
except BlobError:
except (BlobError, MissingDelegateError):
log.error("Invalid cover file content")
return False, _("Invalid cover file content")
else: