mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Lint fix
This commit is contained in:
parent
996f552f32
commit
e446b58317
|
@ -2698,7 +2698,8 @@ def open(fp, mode="r"):
|
||||||
raise ValueError("bad mode %r" % mode)
|
raise ValueError("bad mode %r" % mode)
|
||||||
elif isinstance(fp, io.StringIO):
|
elif isinstance(fp, io.StringIO):
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"StringIO cannot be used to open an image. Binary data must be used instead."
|
"StringIO cannot be used to open an image. "
|
||||||
|
"Binary data must be used instead."
|
||||||
)
|
)
|
||||||
|
|
||||||
exclusive_fp = False
|
exclusive_fp = False
|
||||||
|
|
Loading…
Reference in New Issue
Block a user