Mercurial > piecrust2
diff piecrust/rendering.py @ 7:343d08ef5668
More PieCrust 3 fixes, and a couple of miscellaneous bug fixes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sat, 16 Aug 2014 15:07:22 -0700 |
parents | 474c9882decf |
children | 30a42341cfa8 |
line wrap: on
line diff
--- a/piecrust/rendering.py Sat Aug 16 08:15:30 2014 -0700 +++ b/piecrust/rendering.py Sat Aug 16 15:07:22 2014 -0700 @@ -1,6 +1,5 @@ import re import os.path -import codecs import logging from piecrust.data.builder import (DataBuildingContext, build_page_data, build_layout_data) @@ -98,7 +97,7 @@ rp = RenderedPage(page, ctx.uri, ctx.page_num) rp.data = page_data - rp.content = codecs.encode(output, 'utf8') + rp.content = output rp.execution_info = eis.current_page_info return rp finally: