X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/102460ac788a7307391852115d8f142e6e5c3cdd..9c9a55d7dda5595a236f11977d7f21f804d37872:/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)