Changeset 3128 in products for quintagroup.captcha.core/trunk/quintagroup/captcha/core/skins/captcha_core/dynamic/getCaptcha.py
- Timestamp:
- Apr 18, 2011 11:16:39 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.captcha.core/trunk/quintagroup/captcha/core/skins/captcha_core/dynamic/getCaptcha.py
r1993 r3128 12 12 # *randint* return random integer in range [a, b], 13 13 # including *both* end points. 14 key = formKey(randint(0, getCaptchasCount(True) -1))14 key = formKey(randint(0, getCaptchasCount(True) - 1)) 15 15 encrypted_key = encrypt(context.captcha_key, key) 16 16
Note: See TracChangeset
for help on using the changeset viewer.