fixed typo

This commit is contained in:
KaiyangZhou 2018-03-27 20:45:20 +01:00
parent 0c75b05914
commit f834e823a3

View File

@ -15,7 +15,7 @@ def read_image(img_path):
img = Image.open(img_path).convert('RGB')
got_img = True
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
return img