From 6e92162da225f81d1646507990ba885b947af8a8 Mon Sep 17 00:00:00 2001 From: John Schember Date: Sat, 24 Mar 2012 10:09:59 -0400 Subject: [PATCH] Store: Add format as a comparision parameter to SearchResult's __eq__ function. --- src/calibre/gui2/store/search_result.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/store/search_result.py b/src/calibre/gui2/store/search_result.py index 5cf71f011e..08404a5ebd 100644 --- a/src/calibre/gui2/store/search_result.py +++ b/src/calibre/gui2/store/search_result.py @@ -29,4 +29,4 @@ class SearchResult(object): self.plugin_author = '' def __eq__(self, other): - return self.title == other.title and self.author == other.author and self.store_name == other.store_name + return self.title == other.title and self.author == other.author and self.store_name == other.store_name and self.formats == other.formats