mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-06 01:13:41 +02:00
...
This commit is contained in:
parent
a3822b0fdf
commit
92acf895fe
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ def complete_names(names_data, data_conn):
|
|||
names = names_cache.get(names_type, names_cache[None])
|
||||
nmap = {name:name_to_href(name, root, base, quote) for name in names}
|
||||
items = frozenset(nmap.itervalues())
|
||||
descriptions = {href:names_cache.get(name) for name, href in nmap.iteritems()}
|
||||
d = names_cache['descriptions'].get
|
||||
descriptions = {href:d(name) for name, href in nmap.iteritems()}
|
||||
return items, descriptions, {}
|
||||
|
||||
_current_matcher = (None, None, None)
|
||||
|
|
|
|||
Loading…
Reference in a new issue