mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9f3fa2a62d
commit
57794b179f
@ -47,7 +47,8 @@ class UnixFileCopier:
|
|||||||
|
|
||||||
def delete_all_source_files(self) -> None:
|
def delete_all_source_files(self) -> None:
|
||||||
for src_path in self.copy_map:
|
for src_path in self.copy_map:
|
||||||
os.unlink(src_path)
|
with suppress(FileNotFoundError):
|
||||||
|
os.unlink(src_path)
|
||||||
|
|
||||||
|
|
||||||
class WindowsFileCopier:
|
class WindowsFileCopier:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user