From e84e413dd73b6ba7566807d375a240f0f7cf83d8 Mon Sep 17 00:00:00 2001 From: phil Date: Sat, 4 Apr 2015 19:51:53 +0000 Subject: [PATCH] kleine Anpassung fuer ramus und python 2.7 --- wortschlucker/src/wortschlucker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wortschlucker/src/wortschlucker.py b/wortschlucker/src/wortschlucker.py index 370f155..8eb5924 100755 --- a/wortschlucker/src/wortschlucker.py +++ b/wortschlucker/src/wortschlucker.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.6 +#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- import os @@ -506,7 +506,7 @@ def render(filename, input_data=None, **values): if "user_hash_key" in values: response.set_cookie("user_hash_key", values["user_hash_key"], max_age=365, path="/") - response.body = stream.render("html", doctype="html") + response.text = stream.render("html", doctype="html") return response def get_poll_id(hash_key):