diff --git a/addons/auction/report/photo_shadow.py b/addons/auction/report/photo_shadow.py index 4aea8e31ba6..919fa701e23 100644 --- a/addons/auction/report/photo_shadow.py +++ b/addons/auction/report/photo_shadow.py @@ -27,7 +27,7 @@ def convert(from_file, to_file): __convert(from_file, to_file, size=95) def __convert(from_file, to_file, size=95): - import Image, ImageDraw, ImageFilter + from PIL import Image, ImageDraw, ImageFilter im = Image.open(from_file) if float(im.size[1]/im.size[0])>2: im = im.resize((im.size[0]*size/im.size[1], size))