From a23faacfb0779e0e6c556cabb6b5ad7de40776fc Mon Sep 17 00:00:00 2001 From: Colin Davis Date: Tue, 29 Oct 2013 02:33:44 -0400 Subject: [PATCH] Changed "import Image"->"from PIL import Image" This is the preferred/more modern syntax, per the Pillow docs. I had meant to commit this the other day, along with the requirements.txt change. --- robohash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robohash.py b/robohash.py index af78d67..ac5cf67 100644 --- a/robohash.py +++ b/robohash.py @@ -1,7 +1,7 @@ # This Python file uses the following encoding: utf-8 import os import hashlib -import Image +from PIL import Image class Robohash(object): """