mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
Fix variable name
This commit is contained in:
1 parent
1a27bea7da
commit
2fb59b9243
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user