From bcc6ff8e072e1a5e908fb4883f94d6afd8e8e13f Mon Sep 17 00:00:00 2001 From: John Schember Date: Thu, 21 Apr 2011 21:46:17 -0400 Subject: [PATCH] ... --- src/calibre/gui2/store/search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/store/search.py b/src/calibre/gui2/store/search.py index 696fa35ccd..224fa852e7 100644 --- a/src/calibre/gui2/store/search.py +++ b/src/calibre/gui2/store/search.py @@ -693,7 +693,7 @@ class SearchFilter(SearchQueryParser): continue if query == 'false': if locvalue == 'drm': - if accessor(sr) == SearchResult.DRM_UNKNOWN: + if accessor(sr) == SearchResult.DRM_UNLOCKED: matches.add(sr) else: if accessor(sr) is None: