wip change fb2 api
[librarian.git] / src / librarian / pdf.py
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)