From a10487d4ba6917735432fcbda98faf8fd35a77e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Robert=20B=C5=82aut?= Date: Tue, 1 Apr 2014 13:03:36 +0200 Subject: [PATCH] [epub] pep8 tabs removed --- librarian/epub.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/librarian/epub.py b/librarian/epub.py index e52e524..e8b972a 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -427,7 +427,7 @@ def transform(wldoc, verbose=False, chars = used_chars(html_tree.getroot()) zip.writestr('OPS/title.html', etree.tostring(html_tree, pretty_print = True, - xml_declaration = True, + xml_declaration = True, encoding = "utf-8", doctype='')) @@ -442,7 +442,7 @@ def transform(wldoc, verbose=False, html_tree = xslt(wldoc.edoc, get_resource('epub/xsltChunkTitle.xsl')) chars = used_chars(html_tree.getroot()) html_string = etree.tostring(html_tree, - pretty_print = True, + pretty_print = True, xml_declaration = True, encoding = "utf-8", doctype='')) if bound_cover.uses_dc_cover: @@ -594,9 +594,9 @@ def transform(wldoc, verbose=False, chars = chars.union(used_chars(html_tree.getroot())) zip.writestr('OPS/annotations.html', etree.tostring( html_tree, pretty_print = True, - xml_declaration = True, - encoding = "utf-8", - doctype='')) toc.add("Wesprzyj Wolne Lektury", "support.html") @@ -617,9 +617,9 @@ def transform(wldoc, verbose=False, chars.update(used_chars(html_tree.getroot())) zip.writestr('OPS/last.html', etree.tostring( html_tree, pretty_print = True, - xml_declaration = True, - encoding = "utf-8", - doctype='')) if not flags or not 'without-fonts' in flags: -- 2.20.1