Fixed typo
This commit is contained in:
parent
020e40c013
commit
e7f5b820db
@ -60,7 +60,7 @@ def image (path, threshold=128):
|
|||||||
try:
|
try:
|
||||||
from PIL import Image
|
from PIL import Image
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print('The image patter requires pillow to be installed.')
|
print('ERROR: The image pattern requires Pillow to be installed.\nInstall using `pip install pillow`')
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
im = Image.open(path).convert('L')
|
im = Image.open(path).convert('L')
|
||||||
|
Loading…
Reference in New Issue
Block a user