mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 07:23:34 +02:00
remove any2pdf references
This commit is contained in:
parent
1d669699ba
commit
57e643caf6
2 changed files with 2 additions and 2 deletions
|
|
@ -70,7 +70,7 @@ def convert(self, oeb_book, output_path, input_plugin, opts, log):
|
|||
popts.paper_size = paper_size(opts.paper_size)
|
||||
popts.orientation = orientation(opts.orientation)
|
||||
|
||||
with TemporaryDirectory('_any2pdf') as oebdir:
|
||||
with TemporaryDirectory('_pdf_out') as oebdir:
|
||||
OEBOutput(None).convert(oeb_book, oebdir, input_plugin, opts, log)
|
||||
|
||||
opf = glob.glob(os.path.join(oebdir, '*.opf'))[0]
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ def _render_html(self, ok):
|
|||
def _delete_tmpdir(self):
|
||||
if os.path.exists(self.tmp_path):
|
||||
shutil.rmtree(self.tmp_path, True)
|
||||
self.tmp_path = PersistentTemporaryDirectory('_any2pdf_parts')
|
||||
self.tmp_path = PersistentTemporaryDirectory('_pdf_out_parts')
|
||||
|
||||
def _write(self):
|
||||
self.logger.info('Combining individual PDF parts...')
|
||||
|
|
|
|||
Loading…
Reference in a new issue