typo 3.22
authorDavid Douard <david.douard@logilab.fr>
Wed, 20 Jul 2016 09:40:04 +0200
branch3.22
changeset 11431 bc473cddba5e
parent 11405 5ba55f4c813a
child 11434 f6ba947c11ee
typo
web/captcha.py
--- a/web/captcha.py	Tue Jul 19 18:08:06 2016 +0200
+++ b/web/captcha.py	Wed Jul 20 09:40:04 2016 +0200
@@ -52,7 +52,6 @@
     # draw 100 random colored boxes on the background
     x, y = img.size
     for num in range(100):
-    for num in xrange(100):
         fill = (randint(0, 100), randint(0, 100), randint(0, 100))
         draw.rectangle((randint(0, x), randint(0, y),
                         randint(0, x), randint(0, y)),