mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Skip categories that aren't in the cache. This takes care of 'identifiers', which isn't a category yet
This commit is contained in:
parent
b01e421a9e
commit
c82ef56145
1 changed files with 2 additions and 0 deletions
|
|
@ -673,6 +673,8 @@ def browse_get_book_args(self, mi, id_, add_category_links=False):
|
|||
categories = [categories]
|
||||
dbtags = []
|
||||
for category in categories:
|
||||
if category not in ccache:
|
||||
continue
|
||||
dbtag = None
|
||||
for tag in ccache[key]:
|
||||
if tag.name == category:
|
||||
|
|
|
|||
Loading…
Reference in a new issue