mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Store: Add format as a comparision parameter to SearchResult's __eq__ function.
This commit is contained in:
parent
afccb259f1
commit
6e92162da2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user