mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
More slash to dot changes
This commit is contained in:
parent
1543ff5ea6
commit
bfc53cd031
@ -424,7 +424,7 @@ class ResultCache(SearchQueryParser): # {{{
|
|||||||
user_cats = self.db_prefs.get('user_categories', [])
|
user_cats = self.db_prefs.get('user_categories', [])
|
||||||
c = set(candidates)
|
c = set(candidates)
|
||||||
for key in user_cats:
|
for key in user_cats:
|
||||||
if key == location or key.startswith(location + '/'):
|
if key == location or key.startswith(location + '.'):
|
||||||
for (item, category, ign) in user_cats[key]:
|
for (item, category, ign) in user_cats[key]:
|
||||||
s = self.get_matches(category, '=' + item, candidates=c)
|
s = self.get_matches(category, '=' + item, candidates=c)
|
||||||
c -= s
|
c -= s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user