- # COUNTING CHARACTERS?
- for f in range(nfunds):
- spine_index = int(4 + (f / nfunds * e) + f)
-
- h = Xhtml()
- h.body.append(
- etree.XML('<div id="book-text"><div class="fundraising">' + FUNDRAISING[f % len(FUNDRAISING)] + '</div></div>')
- )
- self.add_html(h.element, file_name='fund%d.xhtml' % f, spine=spine_index)
+ h = Xhtml()
+ h.body.append(
+ etree.XML('<div id="book-text"><div class="fundraising">' + self.fundraising[f % len(self.fundraising)] + '</div></div>')
+ )
+ self.add_html(h.element, file_name='fund%d.xhtml' % f, spine=spine_index)