mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5367 (Filename Starting with Period Not Showing on Kindle)
This commit is contained in:
commit
6adf67e8aa
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user