mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -673,6 +673,8 @@ class BrowseServer(object):
|
|||||||
categories = [categories]
|
categories = [categories]
|
||||||
dbtags = []
|
dbtags = []
|
||||||
for category in categories:
|
for category in categories:
|
||||||
|
if category not in ccache:
|
||||||
|
continue
|
||||||
dbtag = None
|
dbtag = None
|
||||||
for tag in ccache[key]:
|
for tag in ccache[key]:
|
||||||
if tag.name == category:
|
if tag.name == category:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user