X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/28d85f12957a4b8609b4f419e70dd42a22b57765..12b5230d8fdb3ad995e867fb5d58a69e8a627e68:/librarian/epub.py diff --git a/librarian/epub.py b/librarian/epub.py index 6a1b2ce..bf2d4d9 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -646,7 +646,7 @@ def transform(wldoc, verbose=False, '"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">' )) - if not flags or not 'without-fonts' in flags: + if not flags or 'without-fonts' not in flags: # strip fonts tmpdir = mkdtemp('-librarian-epub') try: