shaoyh/django-simple-captcha

NameError: global name 'ret' is not defined

Closed this issue · 3 comments

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

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

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

  • Changed state: Fixed
Thanks!

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