mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 09:37:04 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -468,7 +468,7 @@ def close_handles(self):
|
|||
def delete_originals(self):
|
||||
import win32file
|
||||
for path in self.handle_map:
|
||||
win32file.DeleteFile(path)
|
||||
win32file.DeleteFileW(path)
|
||||
self.close_handles()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue