mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0fd8a07748
commit
f1861cc526
@ -215,7 +215,7 @@ class Saver(QObject):
|
||||
fmtpath = base_path + os.extsep + fmt
|
||||
written = False
|
||||
with lopen(fmtpath, 'w+b') as f:
|
||||
sf = SpooledTemporaryFile(f)
|
||||
sf = SpooledFile(f)
|
||||
try:
|
||||
self.db.copy_format_to(book_id, fmt, sf)
|
||||
except NoSuchFormat:
|
||||
|
Loading…
x
Reference in New Issue
Block a user