From dde7cf18f70e0e00f0f81fbb6354f65c7d36ba30 Mon Sep 17 00:00:00 2001 From: Wolviex Date: Wed, 27 May 2020 01:41:15 -0700 Subject: [PATCH] removed extra reference to calibre_db (calibre_db.calibre_db..) typo? --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index 1c1098c1..3c31dee1 100644 --- a/cps/web.py +++ b/cps/web.py @@ -657,7 +657,7 @@ def books_list(data, sort, book_id, page): abort(404) elif data == "discover": if current_user.check_visibility(constants.SIDEBAR_RANDOM): - entries, __, pagination = calibre_db.calibre_db.fill_indexpage(page, db.Books, True, [func.randomblob(2)]) + entries, __, pagination = calibre_db.fill_indexpage(page, db.Books, True, [func.randomblob(2)]) pagination = Pagination(1, config.config_books_per_page, config.config_books_per_page) return render_title_template('discover.html', entries=entries, pagination=pagination, id=book_id, title=_(u"Discover (Random Books)"), page="discover")