Cover upload gives Error 500 fix #972 (leftover from refactoring)

OPDS cannot be downloaded Fix #973 (wrong blueprint selected with wrong authentication type)
Read books with link to calibre wern't detected correct Fix #971 (Refactoring error "is" is not equal to "==" for sqlalchemy)
This commit is contained in:
Ozzieisaacs
2019-07-24 18:43:23 +02:00
parent fc4dc36c65
commit cf00b4eebf
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -947,7 +947,7 @@ def render_read_books(page, are_read, as_xml=False, order=None):
else:
try:
readBooks = db.session.query(db.cc_classes[config.config_read_column])\
.filter(db.cc_classes[config.config_read_column].value is True).all()
.filter(db.cc_classes[config.config_read_column].value == True).all()
readBookIds = [x.book for x in readBooks]
except KeyError:
log.error("Custom Column No.%d is not existing in calibre database", config.config_read_column)