mirror of
https://github.com/RoboSats/Robohash.git
synced 2025-07-18 08:43:16 +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:
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user