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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user