mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
78314795f4
commit
21b194559e
@ -1628,7 +1628,7 @@ def get_container(path, log=None, tdir=None, tweak_mode=False, ebook_cls=None) -
|
||||
if own_tdir:
|
||||
tdir = PersistentTemporaryDirectory(f'_{ebook_cls.book_type}_container')
|
||||
try:
|
||||
ebook = ebook_cls(path, log, tdir=tdir)
|
||||
ebook = ebook_cls(path, log=log, tdir=tdir)
|
||||
ebook.tweak_mode = tweak_mode
|
||||
except BaseException:
|
||||
if own_tdir:
|
||||
|
Loading…
x
Reference in New Issue
Block a user