mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
Minor formatting of error message
This commit is contained in:
1 parent
53760e3d87
commit
8758ce9f93
1 file changed
+1
-1
@@ -34,7 +34,7 @@ def imread(fname, dtype=None):
|
||||
im.getdata()[0]
|
||||
except IOError:
|
||||
site = "http://pillow.readthedocs.org/en/latest/installation.html#external-libraries"
|
||||
raise ValueError('Could not load "%s"\nPlease see documentation at %s' % (fname, site))
|
||||
raise ValueError('Could not load "%s"\nPlease see documentation at: %s' % (fname, site))
|
||||
else:
|
||||
return pil_to_ndarray(im, dtype)
|
||||
|
||||
|
||||
Reference in new issue
Block a user