mirror of
https://github.com/lepture/captcha.git
synced 2026-03-13 09:43:22 +08:00
Fix wheezy captcha import
This commit is contained in:
@@ -14,7 +14,7 @@ from PIL.ImageDraw import Draw
|
||||
from PIL.ImageFont import truetype
|
||||
from io import BytesIO
|
||||
try:
|
||||
from wheezy import captcha as wheezy_captcha
|
||||
from wheezy.captcha import image as wheezy_captcha
|
||||
except ImportError:
|
||||
wheezy_captcha = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user