From: Radek Czajka Date: Tue, 19 Oct 2010 14:14:08 +0000 (+0200) Subject: fix X-Git-Tag: 1.7~267 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/17e20f7c5e5642515d284b3bbbf19d4ea16c31b3?ds=sidebyside fix --- diff --git a/librarian/epub.py b/librarian/epub.py index 2584029..649901e 100644 --- a/librarian/epub.py +++ b/librarian/epub.py @@ -211,7 +211,6 @@ class TOC(object): def used_chars(element): """ Lists characters used in an ETree Element """ - print (element.text or '') + (element.tail or '') chars = set((element.text or '') + (element.tail or '')) for child in element: chars = chars.union(used_chars(child))