bugfix 24.4.1
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 10 Apr 2024 11:31:22 +0000 (13:31 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 10 Apr 2024 11:31:22 +0000 (13:31 +0200)
setup.py
src/librarian/pdf.py

index 1368375..a11c86e 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ def whole_tree(prefix, path):
 
 setup(
     name='librarian',
-    version='24.4',
+    version='24.4.1',
     description='Converter from WolneLektury.pl XML-based language to XHTML, TXT and other formats',
     author="Marek StÄ™pniowski",
     author_email='marek@stepniowski.com',
index e5cf5bd..de09755 100644 (file)
@@ -196,7 +196,7 @@ def add_fundraising(doc, fundraising):
         naglowek.addprevious(spot)
         spots.append(spot)
     spot = etree.Element('f_spot')
-    doc.getroot()[-1][-1].append(spot)
+    doc.getroot()[-1].append(spot)
     spots.append(spot)
     e = len(spots)
     nfunds = len(fundraising)