bzr revid: fp@tinyerp.com-27cc3d8d75b2267acd18acca42270a8027b655ac
This commit is contained in:
Fabien Pinckaers
2008-07-01 10:21:29 +00:00
parent b8054f84e7
commit 8a58c7e5b4
+5 -1
View File
@@ -771,8 +771,12 @@ class _rml_template(object):
r = _rml_flowable(self.doc,images=self.images, path=self.path)
for node_story in node_stories:
fis += r.render(node_story)
fis.append(PageCount())
if node_story==node_stories[-1]:
fis.append(PageCount())
fis.append(platypus.PageBreak())
self.doc_tmpl.build(fis)
def parseString(data, fout=None, images={}, path='.'):