mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix contentid_from_path
This commit is contained in:
parent
b722530e45
commit
a36216fdd1
@ -327,7 +327,7 @@ class KOBO(USBMS):
|
|||||||
if self._card_a_prefix is not None:
|
if self._card_a_prefix is not None:
|
||||||
ContentID = ContentID.replace(self._card_a_prefix, "file:///mnt/sd/")
|
ContentID = ContentID.replace(self._card_a_prefix, "file:///mnt/sd/")
|
||||||
ContentID = ContentID.replace("\\", '/')
|
ContentID = ContentID.replace("\\", '/')
|
||||||
return ContentType
|
return ContentID
|
||||||
|
|
||||||
|
|
||||||
def path_from_contentid(self, ContentID, ContentType, oncard):
|
def path_from_contentid(self, ContentID, ContentType, oncard):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user