Changeset 189:8100d67665d7 for captcha/src/captcha/captcha.py
- Timestamp:
- 09/30/07 19:45:05 (14 months ago)
- Files:
-
- 1 modified
-
captcha/src/captcha/captcha.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
captcha/src/captcha/captcha.py
r186 r189 43 43 return word.strip() 44 44 45 def gen_captcha(text, fnt , fnt_sz):45 def gen_captcha(text, fnt=random.choice(fonts), fnt_sz=35): 46 46 """Generate a captcha image""" 47 47 fgcolor = random.randint(0, 0xffff00)
