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
38210d1aa3
commit
2b880a9353
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user