diff --git a/hiboo/captcha/captcha.py b/hiboo/captcha/captcha.py index 0b93874fb2a44933b25470050958f9e01a22518f..9b626428c35690d32adc8673e80677ba602ca393 100644 --- a/hiboo/captcha/captcha.py +++ b/hiboo/captcha/captcha.py @@ -64,8 +64,7 @@ class ImageCaptchaField(fields.CaptchaField): output = base64.b64encode(png.getvalue()).decode("ascii") return widgets.HTMLString( '<p><img src="data:image/png;base64,{}"></p>'.format(output) - + super(ImageCaptchaField, self).__call__(**kwargs) - ) + ) + super(ImageCaptchaField, self).__call__(**kwargs) def make_char(self, char, rotation_range=15): """ Renders a character