Fix #5367 (Filename Starting with Period Not Showing on Kindle)

This commit is contained in:
Kovid Goyal 2010-04-25 19:17:45 -06:00
commit 6adf67e8aa

View File

@ -60,6 +60,10 @@ class KINDLE(USBMS):
'replace')
return mi
def filename_callback(self, fname, mi):
if fname.startswith('.'):
return 'x'+fname[1:]
def get_annotations(self, path_map):
MBP_FORMATS = [u'azw', u'mobi', u'prc', u'txt']
mbp_formats = set(MBP_FORMATS)