From: Radek Czajka Date: Thu, 2 May 2013 12:23:51 +0000 (+0200) Subject: obvious epub toc fix X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/85b5bd4d4b6fdaff30df0dce136db850fe610830 obvious epub toc fix --- diff --git a/librarian/book2anything.py b/librarian/book2anything.py index b50cb1c..e46a4b4 100755 --- a/librarian/book2anything.py +++ b/librarian/book2anything.py @@ -4,7 +4,6 @@ # This file is part of Librarian, licensed under GNU Affero GPLv3 or later. # Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. # -from collections import namedtuple import os.path import optparse diff --git a/librarian/formats/epub/__init__.py b/librarian/formats/epub/__init__.py index f9f7565..38778ac 100644 --- a/librarian/formats/epub/__init__.py +++ b/librarian/formats/epub/__init__.py @@ -230,7 +230,7 @@ class TOC(object): content.set('src', child.href) nav_point.append(content) nav_map.append(nav_point) - child.render(nav_map) + child.render(nav_point) # Renderers