From 15a6eb79bf0fceadb5f3f07cd46d6d0f24b8d8f6 Mon Sep 17 00:00:00 2001 From: HuangKangJing Date: Mon, 2 Mar 2015 11:20:28 +0800 Subject: [PATCH] Image is in PIL.Image now on most platforms --- lib/res.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/res.py b/lib/res.py index 08880dc..a543b1b 100644 --- a/lib/res.py +++ b/lib/res.py @@ -8,7 +8,7 @@ import glob import os import re # TODO: perhaps we don't need to introduce PIL and numpy. libjpeg might be enough -import Image +from PIL import Image import cStringIO import base64 import logging