Fix contentid_from_path

This commit is contained in:
Timothy Legge 2010-06-20 20:24:39 -03:00
parent b722530e45
commit a36216fdd1

View File

@ -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):