fixed typo

pull/17/head
KaiyangZhou 2018-03-27 20:45:20 +01:00
parent 0c75b05914
commit f834e823a3
1 changed files with 1 additions and 1 deletions

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