mirror of
https://github.com/janeczku/calibre-web
synced 2025-10-17 08:37:39 +00:00
Undo check of read checkbox in case of error
Display error message in details modal dialog Bugfix set archive bit in booktable Translate error message readstatus change
This commit is contained in:
@@ -335,7 +335,7 @@ def edit_book_read_status(book_id, read_status=None):
|
||||
except (OperationalError, InvalidRequestError) as e:
|
||||
calibre_db.session.rollback()
|
||||
log.error(u"Read status could not set: {}".format(e))
|
||||
return "Read status could not set: {}".format(e), 400
|
||||
return _("Read status could not set: {}".format(e.orig))
|
||||
return ""
|
||||
|
||||
# Deletes a book fro the local filestorage, returns True if deleting is successfull, otherwise false
|
||||
|
Reference in New Issue
Block a user