bug fix: img_path->path
parent
0f658d045d
commit
7a73dca4ac
|
@ -112,7 +112,7 @@ def read_image(path):
|
|||
img = Image.open(path).convert('RGB')
|
||||
got_img = True
|
||||
except IOError:
|
||||
print('IOError incurred when reading "{}". Will redo. Don\'t worry. Just chill.'.format(img_path))
|
||||
print('IOError incurred when reading "{}". Will redo. Don\'t worry. Just chill.'.format(path))
|
||||
pass
|
||||
return img
|
||||
|
||||
|
|
Loading…
Reference in New Issue