Fix issue with images for files on SD card not being displayed

This commit is contained in:
Timothy Legge 2010-06-26 18:32:08 -03:00
parent a396cf382c
commit 710a4e232e

View File

@ -85,7 +85,7 @@ class KOBO(USBMS):
idx = bl_cache.get(lpath, None)
if idx is not None:
imagename = self.normalize_path(prefix + '.kobo/images/' + ImageID + ' - NickelBookCover.parsed')
imagename = self.normalize_path(self._main_prefix + '.kobo/images/' + ImageID + ' - NickelBookCover.parsed')
#print "Image name Normalized: " + imagename
bl[idx].thumbnail = ImageWrapper(imagename)
bl_cache[lpath] = None