mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
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:
parent
1bbb576d37
commit
3e4da5429e
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user