diff --git a/src/gutenberg2zim/entrypoint.py b/src/gutenberg2zim/entrypoint.py index ebda3e8..cd13f82 100755 --- a/src/gutenberg2zim/entrypoint.py +++ b/src/gutenberg2zim/entrypoint.py @@ -190,9 +190,9 @@ def f(x): only_books=books, force=force, s3_storage=s3_storage, - optimizer_version=optimizer_version - if not use_any_optimized_version - else None, + optimizer_version=( + optimizer_version if not use_any_optimized_version else None + ), ) if one_lang_one_zim_folder: if languages == []: diff --git a/src/gutenberg2zim/urls.py b/src/gutenberg2zim/urls.py index deada12..60fa7ab 100644 --- a/src/gutenberg2zim/urls.py +++ b/src/gutenberg2zim/urls.py @@ -8,7 +8,6 @@ class UrlBuilder: - """ Url builder for the files of a Gutenberg book. Example: