From 48fefff6727312185946a4d944c562e542f4f6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 5 Jul 2018 16:59:14 +0200 Subject: [PATCH] force body to be a string (not ) --- auquotidien/modules/template.py | 1 + 1 file changed, 1 insertion(+) diff --git a/auquotidien/modules/template.py b/auquotidien/modules/template.py index b23a702..1a4df2e 100644 --- a/auquotidien/modules/template.py +++ b/auquotidien/modules/template.py @@ -27,6 +27,7 @@ def render_response(publisher, body): if isinstance(body, template.QommonTemplateResponse): body = template.render(body.templates, body.context) + body = str(body) root_url = publisher.get_root_url() wcs_path = publisher.get_request().get_path()[len(root_url):]