ojengwa / django-simple-captcha

Automatically exported from code.google.com/p/django-simple-captcha
MIT License
1 stars 0 forks source link

NameError: global name 'ret' is not defined #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In revision 48, in fields.py, you removed a variable "ret", but you still
reference it on line 46. This causes "NameError: global name 'ret' is not
defined".

Original issue reported on code.google.com by samad...@gmail.com on 11 Mar 2010 at 10:28

GoogleCodeExporter commented 9 years ago
I think you just need to change ret to self.image_and_audio.

Original comment by samad...@gmail.com on 12 Mar 2010 at 3:55

GoogleCodeExporter commented 9 years ago
Sorry about this, how silly of me. 
Fixed in r52 and v 0.1.7

Original comment by mbonetti on 12 Mar 2010 at 8:22

GoogleCodeExporter commented 9 years ago
Thanks!

Original comment by samad...@gmail.com on 12 Mar 2010 at 5:53