diff --git a/src/calibre/devices/usbms/driver.py b/src/calibre/devices/usbms/driver.py index c01fca4120..90d9ef05b2 100644 --- a/src/calibre/devices/usbms/driver.py +++ b/src/calibre/devices/usbms/driver.py @@ -287,6 +287,9 @@ class USBMS(CLI, Device): if iswindows: # must put a \ after the prefix or it will read the current directory res += os.sep + else: + # for *nix file systems, must put a sep on the front. + res = os.sep + res # read down the path directory by directory, doing a case-insensitive # compare. Build a new path of the components with the case as on disk.