Skip to content

Commit 97bf1ad

Browse files
committed
Added missing space in PIL warning
1 parent 8c6cee2 commit 97bf1ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: sklearn/datasets/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ def load_sample_images():
439439
except ImportError:
440440
from scipy.misc.pilutil import imread
441441
except ImportError:
442-
raise ImportError("The Python Imaging Library (PIL)"
442+
raise ImportError("The Python Imaging Library (PIL) "
443443
"is required to load data from jpeg files")
444444
module_path = join(dirname(__file__), "images")
445445
with open(join(module_path, 'README.txt')) as f:

0 commit comments

Comments
 (0)