[Mpuls-commits] r2053 - wasko/branches/2.0/mpulsweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Mar 23 08:45:13 CET 2010
Author: torsten
Date: 2010-03-23 08:45:12 +0100 (Tue, 23 Mar 2010)
New Revision: 2053
Modified:
wasko/branches/2.0/mpulsweb/controllers/formularpage.py
Log:
* mpulsweb/controllers/formularpage.py (get_rendered_page): Render
already returns unicode, so d not convert it to unicode again.
Modified: wasko/branches/2.0/mpulsweb/controllers/formularpage.py
===================================================================
--- wasko/branches/2.0/mpulsweb/controllers/formularpage.py 2010-03-23 07:43:19 UTC (rev 2052)
+++ wasko/branches/2.0/mpulsweb/controllers/formularpage.py 2010-03-23 07:45:12 UTC (rev 2053)
@@ -104,8 +104,7 @@
session.save()
# Render form and use htmlfill to fillout the form and mark errorfields.
- form = unicode(render('/formularpage/content.mako'), 'utf-8')
-
+ form = render('/formularpage/content.mako')
# Currently values of the fields are set within the renderer.
# Htmlfill is used to fill in the error values from the error items.
defaults = prepare_htmlfill_defaults(defaults)
More information about the Mpuls-commits
mailing list