Skip to content

Commit

Permalink
Replaced obeoleted package PIL with Pillow
Browse files Browse the repository at this point in the history
  • Loading branch information
kanflo committed Mar 12, 2017
1 parent 3883435 commit 2d3e49c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions imagecolor.py
Expand Up @@ -32,9 +32,8 @@
try:
from PIL import Image
except ImportError:
print "PIL module not found, install using 'sudo pip install PIL'"
print "If that fails, try 'sudo pip install PIL --allow-external PIL --allow-unverified PIL'"
sys.exit(1)
print "Pillow module not found, install using 'sudo pip install Pillow'"
exit(1)


def getImage(searchTerm):
Expand Down

0 comments on commit 2d3e49c

Please sign in to comment.