diff --git a/src/calibre/devices/kindle/driver.py b/src/calibre/devices/kindle/driver.py index c88a443689..081b41aa4f 100644 --- a/src/calibre/devices/kindle/driver.py +++ b/src/calibre/devices/kindle/driver.py @@ -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)