mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
USBMS: support deleting aux files that both replace and append extensions.
This commit is contained in:
commit
0377f9b43c
@ -151,6 +151,8 @@ class USBMS(CLI, Device):
|
||||
for ext in self.DELETE_EXTS:
|
||||
if os.path.exists(filepath + ext):
|
||||
os.unlink(filepath + ext)
|
||||
if os.path.exists(path + ext):
|
||||
os.unlink(path + ext)
|
||||
|
||||
if self.SUPPORTS_SUB_DIRS:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user