More slash to dot changes

This commit is contained in:
Charles Haley 2011-02-22 13:25:03 +00:00
parent 1543ff5ea6
commit bfc53cd031

View File

@ -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