mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
...
This commit is contained in:
parent
001242d21e
commit
514d2a4381
@ -623,7 +623,7 @@ class BrowseServer(object):
|
|||||||
except:
|
except:
|
||||||
raise cherrypy.HTTPError(404, 'Search: %r not understood'%which)
|
raise cherrypy.HTTPError(404, 'Search: %r not understood'%which)
|
||||||
else:
|
else:
|
||||||
if fm[category]['datatype'] == 'composite':
|
if fm.get(category, {'datatype':None})['datatype'] == 'composite':
|
||||||
cid = cid.decode('utf-8')
|
cid = cid.decode('utf-8')
|
||||||
all_ids = self.search_cache('')
|
all_ids = self.search_cache('')
|
||||||
if category == 'newest':
|
if category == 'newest':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user