mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-25 03:45:19 +01:00
USBMS: support deleting aux files that both replace and append extensions.
This commit is contained in:
parent
e31fc920db
commit
00d9520e7a
1 changed files with 2 additions and 0 deletions
|
|
@ -151,6 +151,8 @@ def delete_books(self, paths, end_session=True):
|
|||
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…
Reference in a new issue