fixed typo
parent
0c75b05914
commit
f834e823a3
|
@ -15,7 +15,7 @@ def read_image(img_path):
|
||||||
img = Image.open(img_path).convert('RGB')
|
img = Image.open(img_path).convert('RGB')
|
||||||
got_img = True
|
got_img = True
|
||||||
except IOError:
|
except IOError:
|
||||||
print("IOError incurred when reading '{}'. Will redo. Don't worry. Just chill.".format(fpath))
|
print("IOError incurred when reading '{}'. Will redo. Don't worry. Just chill.".format(img_path))
|
||||||
pass
|
pass
|
||||||
return img
|
return img
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue