Fixed typo

This commit is contained in:
Gijs 2021-05-08 17:52:28 +02:00
parent 020e40c013
commit e7f5b820db

View File

@ -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')