mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
...
This commit is contained in:
parent
f9a861b3c8
commit
f5b4029751
@ -215,10 +215,8 @@ class SaveWorker(Thread):
|
|||||||
if isbytestring(cpath):
|
if isbytestring(cpath):
|
||||||
cpath = cpath.decode(filesystem_encoding)
|
cpath = cpath.decode(filesystem_encoding)
|
||||||
formats = {}
|
formats = {}
|
||||||
fmts = self.db.formats(i, index_is_id=True, verify_formats=False)
|
if mi.formats:
|
||||||
if fmts:
|
for fmt in mi.formats:
|
||||||
fmts = fmts.split(',')
|
|
||||||
for fmt in fmts:
|
|
||||||
fpath = self.db.format_abspath(i, fmt, index_is_id=True)
|
fpath = self.db.format_abspath(i, fmt, index_is_id=True)
|
||||||
if fpath is not None:
|
if fpath is not None:
|
||||||
if isbytestring(fpath):
|
if isbytestring(fpath):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user