From bfc53cd03172e442112069430e3ffbee6c75a602 Mon Sep 17 00:00:00 2001 From: Charles Haley <> Date: Tue, 22 Feb 2011 13:25:03 +0000 Subject: [PATCH] More slash to dot changes --- src/calibre/library/caches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/caches.py b/src/calibre/library/caches.py index a84a9e0940..c25ce1bcce 100644 --- a/src/calibre/library/caches.py +++ b/src/calibre/library/caches.py @@ -424,7 +424,7 @@ class ResultCache(SearchQueryParser): # {{{ user_cats = self.db_prefs.get('user_categories', []) c = set(candidates) 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]: s = self.get_matches(category, '=' + item, candidates=c) c -= s