mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Windows: Fix an error when changing title/author for books in a library whose name contains characters not encodeable in the current code page
This commit is contained in:
parent
c849bfb635
commit
989f06b0b5
@ -468,7 +468,7 @@ class WindowsAtomicFolderMove(object):
|
|||||||
def delete_originals(self):
|
def delete_originals(self):
|
||||||
import win32file
|
import win32file
|
||||||
for path in self.handle_map:
|
for path in self.handle_map:
|
||||||
win32file.DeleteFile(path)
|
win32file.DeleteFileW(path)
|
||||||
self.close_handles()
|
self.close_handles()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user