From 051bc53aa22f6d5a01b5bd73eef21345a2549f33 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Mon, 2 Sep 2019 19:27:24 +0200 Subject: [PATCH] Fix for #1009 --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 82a79623..17f05f0b 100644 --- a/cps/web.py +++ b/cps/web.py @@ -943,7 +943,7 @@ def render_read_books(page, are_read, as_xml=False, order=None): order = order or [] if not config.config_read_column: readBooks = ub.session.query(ub.ReadBook).filter(ub.ReadBook.user_id == int(current_user.id))\ - .filter(ub.ReadBook.is_read is True).all() + .filter(ub.ReadBook.is_read == True).all() readBookIds = [x.book_id for x in readBooks] else: try: