mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
e2cf4642cc
commit
9cc3571808
@ -115,10 +115,11 @@ def render_id(book_id):
|
|||||||
def render_ids(book_ids):
|
def render_ids(book_ids):
|
||||||
book_ids = book_ids or library_data.search_result.book_ids
|
book_ids = book_ids or library_data.search_result.book_ids
|
||||||
div = component('book_list')
|
div = component('book_list')
|
||||||
for book_id in book_ids:
|
if div:
|
||||||
child = render_id(book_id)
|
for book_id in book_ids:
|
||||||
if child is not None:
|
child = render_id(book_id)
|
||||||
book_list_data.append_item(div, child)
|
if child:
|
||||||
|
book_list_data.append_item(div, child)
|
||||||
|
|
||||||
|
|
||||||
def apply_view_mode(mode=DEFAULT_MODE):
|
def apply_view_mode(mode=DEFAULT_MODE):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user