Nook driver: Remove the % character from filenames sent to the Nook. Fixes #1703284 [%-sign in filename confuses Nook reader](https://bugs.launchpad.net/calibre/+bug/1703284)

This commit is contained in:
Kovid Goyal 2017-07-10 10:20:26 +05:30
parent 1bbb576d37
commit 3e4da5429e
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -80,7 +80,7 @@ class NOOK(USBMS):
fsync(coverfile)
def sanitize_path_components(self, components):
return [x.replace('#', '_') for x in components]
return [x.replace('#', '_').replace('%', '_') for x in components]
class NOOK_COLOR(NOOK):