Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jul 13, 2015
1 parent 2dfd29a commit 6d2a716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skimage/io/_plugins/pil_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def imread(fname, dtype=None, img_num=None, **kwargs):
im = Image.open(f)
return pil_to_ndarray(im, dtype=dtype, img_num=img_num)
else:
im = Image.open(f)
im = Image.open(fname)
return pil_to_ndarray(im, dtype=dtype, img_num=img_num)


Expand Down

0 comments on commit 6d2a716

Please sign in to comment.