Typo: images -> image (#39)

Check if the image is an instance of Image.Image, instead of the list containing the images.
This commit is contained in:
michieldwitte authored and Philipp Klaus committed 2018-08-26 11:02:46 +02:00
1 parent fe55344d32
commit 4ac1c76da9
1 file changed
+1 -1
+1 -1
View File
@@ -81,7 +81,7 @@ def convert(qlr, images, label, **kwargs):
pass pass
for image in images: for image in images:
if isinstance(images, Image.Image): if isinstance(image, Image.Image):
im = image im = image
elif isinstance(image, (unicode, str)): elif isinstance(image, (unicode, str)):
im = Image.open(image) im = Image.open(image)