From 8aeb57b7acb6fafdfbefeea81f9398c22b80212b Mon Sep 17 00:00:00 2001 From: Hsiaoming Yang Date: Thu, 27 Nov 2014 14:34:48 +0800 Subject: [PATCH] Fix wheezy captcha import --- captcha/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/captcha/image.py b/captcha/image.py index b18364d..f8a643b 100644 --- a/captcha/image.py +++ b/captcha/image.py @@ -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