mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
4cea46d7a6
commit
2fdcf2046e
@ -443,7 +443,7 @@ def do_convert(path_to_file, opts, notification=lambda m, p: p, output_format='l
|
|||||||
if output_format == 'pdf':
|
if output_format == 'pdf':
|
||||||
create_pdf(pages, opts.profile, opts, thumbnail=thumbnail)
|
create_pdf(pages, opts.profile, opts, thumbnail=thumbnail)
|
||||||
shutil.rmtree(tdir)
|
shutil.rmtree(tdir)
|
||||||
if not opts.no_process:
|
if not getattr(opts, 'no_process', False):
|
||||||
shutil.rmtree(tdir2)
|
shutil.rmtree(tdir2)
|
||||||
|
|
||||||
|
|
||||||
@ -457,7 +457,7 @@ def main(args=sys.argv, notification=None, output_format='lrf'):
|
|||||||
|
|
||||||
if not callable(notification):
|
if not callable(notification):
|
||||||
pb = ProgressBar(terminal_controller, _('Rendering comic pages...'),
|
pb = ProgressBar(terminal_controller, _('Rendering comic pages...'),
|
||||||
no_progress_bar=opts.no_progress_bar)
|
no_progress_bar=opts.no_progress_bar or getattr(opts, 'no_process', False))
|
||||||
notification = pb.update
|
notification = pb.update
|
||||||
|
|
||||||
source = os.path.abspath(args[1])
|
source = os.path.abspath(args[1])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user