From: Radek Czajka Date: Fri, 15 Jul 2022 08:16:32 +0000 (+0200) Subject: fix X-Git-Tag: 2.4.6 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/9d05775ad3576582aeb43bdd95224c58f17e1673?ds=inline;hp=eb6b8e8e497922011e8a89f1e1869d68ef8f7066 fix --- diff --git a/CHANGELOG.md b/CHANGELOG.md index 56ccb9f..fd3ea03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ This document records all notable changes to Librarian. +@@ 2.4.6 (2022-07-15) + +# Fixed: +- Bug in reading child books. + + ## 2.4.5 (2022-07-08) # Fixed diff --git a/setup.py b/setup.py index 7056674..a48f2d7 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def whole_tree(prefix, path): setup( name='librarian', - version='2.4.5', + version='2.4.6', description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats', author="Marek Stępniowski", author_email='marek@stepniowski.com', diff --git a/src/librarian/document.py b/src/librarian/document.py index a3ee093..fbaf6ca 100644 --- a/src/librarian/document.py +++ b/src/librarian/document.py @@ -33,7 +33,7 @@ class WLDocument: def children(self): for part_uri in self.meta.parts or []: yield type(self)( - filename=self.provider.by_uri(part_uri), + filename=self.provider.by_slug(part_uri.slug), provider=self.provider )