mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix regression in book equality test in usbms
This commit is contained in:
parent
c75c533175
commit
b3b6741156
@ -47,7 +47,7 @@ class Book(MetaInformation):
|
||||
|
||||
def __eq__(self, other):
|
||||
# use lpath because the prefix can change, changing path
|
||||
return self.path == getattr(other, 'lpath', None)
|
||||
return self.lpath == getattr(other, 'lpath', None)
|
||||
|
||||
@dynamic_property
|
||||
def db_id(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user