# HG changeset patch # User Christophe de Vienne # Date 1401915726 -7200 # Node ID 7d0d622c9bc9ce5054c15674185536e9a8044757 # Parent 112c884b2d8d97443352595456973161f5c660e7 Import PIL modules from the PIL namespace to be Pillow-compatible Closes #3924726 diff -r 112c884b2d8d -r 7d0d622c9bc9 web/captcha.py --- a/web/captcha.py Tue Jun 10 09:49:45 2014 +0200 +++ b/web/captcha.py Wed Jun 04 23:02:06 2014 +0200 @@ -24,7 +24,7 @@ from random import randint, choice from cStringIO import StringIO -import Image, ImageFont, ImageDraw, ImageFilter +from PIL import Image, ImageFont, ImageDraw, ImageFilter from time import time