From 85b5bd4d4b6fdaff30df0dce136db850fe610830 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 2 May 2013 14:23:51 +0200 Subject: [PATCH] obvious epub toc fix --- librarian/book2anything.py | 1 - librarian/formats/epub/__init__.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1