web/views/editviews.py
changeset 5223 6abd6e3599f4
parent 5037 7778a2bbdf9d
child 5423 e15abfdcce38
--- a/web/views/editviews.py	Mon Apr 12 14:41:01 2010 +0200
+++ b/web/views/editviews.py	Tue Apr 13 12:19:24 2010 +0200
@@ -113,5 +113,5 @@
             text, data = captcha.captcha(self._cw.vreg.config['captcha-font-file'],
                                          self._cw.vreg.config['captcha-font-size'])
             key = self._cw.form.get('captchakey', 'captcha')
-            self._cw.set_session_data(key, text)
+            self._cw.session.data[key] = text
             self.w(data.read())