diff --git a/src/calibre/devices/usbms/books.py b/src/calibre/devices/usbms/books.py index d065d0f47a..be154f35c1 100644 --- a/src/calibre/devices/usbms/books.py +++ b/src/calibre/devices/usbms/books.py @@ -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):