mirror of
https://github.com/e1ven/Robohash.git
synced 2025-06-23 21:35:02 +00:00
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.
This commit is contained in:
parent
f4f6e7f28a
commit
a23faacfb0
@ -1,7 +1,7 @@
|
|||||||
# This Python file uses the following encoding: utf-8
|
# This Python file uses the following encoding: utf-8
|
||||||
import os
|
import os
|
||||||
import hashlib
|
import hashlib
|
||||||
import Image
|
from PIL import Image
|
||||||
|
|
||||||
class Robohash(object):
|
class Robohash(object):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user