X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/102460ac788a7307391852115d8f142e6e5c3cdd..82c0860d1520489be56457829d49eb17f165b9cd:/src/librarian/pdf.py diff --git a/src/librarian/pdf.py b/src/librarian/pdf.py index e5cf5bd..de09755 100644 --- a/src/librarian/pdf.py +++ b/src/librarian/pdf.py @@ -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)