equal
deleted
inserted
replaced
111 |
111 |
112 def call(self): |
112 def call(self): |
113 text, data = captcha.captcha(self._cw.vreg.config['captcha-font-file'], |
113 text, data = captcha.captcha(self._cw.vreg.config['captcha-font-file'], |
114 self._cw.vreg.config['captcha-font-size']) |
114 self._cw.vreg.config['captcha-font-size']) |
115 key = self._cw.form.get('captchakey', 'captcha') |
115 key = self._cw.form.get('captchakey', 'captcha') |
116 self._cw.set_session_data(key, text) |
116 self._cw.session.data[key] = text |
117 self.w(data.read()) |
117 self.w(data.read()) |