mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 16:50:01 +08:00
removing trailing space (PEP8 formatting)
This commit is contained in:
@@ -41,7 +41,7 @@ def pil_to_ndarray(im, dtype=None):
|
||||
|
||||
|
||||
"""
|
||||
fp = im.fp if hasattr(im, 'fp') else None
|
||||
fp = im.fp if hasattr(im, 'fp') else None
|
||||
if im.mode == 'P':
|
||||
if _palette_is_grayscale(im):
|
||||
im = im.convert('L')
|
||||
|
||||
Reference in New Issue
Block a user