Skip to content

Commit

Permalink
Typo: images -> image (#39)
Browse files Browse the repository at this point in the history
Check if the image is an instance of Image.Image, instead of the list containing the images.
  • Loading branch information
michieldwitte authored and pklaus committed Aug 26, 2018
1 parent fe55344 commit 4ac1c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brother_ql/conversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def convert(qlr, images, label, **kwargs):
pass

for image in images:
if isinstance(images, Image.Image):
if isinstance(image, Image.Image):
im = image
elif isinstance(image, (unicode, str)):
im = Image.open(image)
Expand Down

0 comments on commit 4ac1c76

Please sign in to comment.