mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 23:03:26 +02:00
Fix contentid_from_path
This commit is contained in:
parent
b722530e45
commit
a36216fdd1
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ def contentid_from_path(self, path, ContentType):
|
|||
if self._card_a_prefix is not None:
|
||||
ContentID = ContentID.replace(self._card_a_prefix, "file:///mnt/sd/")
|
||||
ContentID = ContentID.replace("\\", '/')
|
||||
return ContentType
|
||||
return ContentID
|
||||
|
||||
|
||||
def path_from_contentid(self, ContentID, ContentType, oncard):
|
||||
|
|
|
|||
Loading…
Reference in a new issue