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