From: Robert BÅ‚aut Date: Sat, 29 Mar 2014 08:27:41 +0000 (+0100) Subject: Fix for not working --verbose optional switch X-Git-Tag: 1.7~99^2~4 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/9868276112ecaa2081f36b9304f6d10492a2baed?ds=inline Fix for not working --verbose optional switch --- diff --git a/librarian/book2anything.py b/librarian/book2anything.py index 0a8e736..7ae6178 100755 --- a/librarian/book2anything.py +++ b/librarian/book2anything.py @@ -102,11 +102,13 @@ class Book2Anything(object): if flag.value(options)] if transform_flags: transform_args['flags'] = transform_flags - # Add cover support, if any. + if options.verbose: + transform_args['verbose'] = True if options.html_toc and cls.ext == 'epub': transform_args['html_toc'] = True if options.use_kindlegen and cls.ext == 'mobi': transform_args['use_kindlegen'] = True + # Add cover support, if any. if cls.uses_cover: if options.image_cache: def cover_class(*args, **kwargs):