mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-21 04:34:47 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
ee16ffc37d
commit
fd02b12561
|
@ -272,7 +272,9 @@ class CommandViewer(Viewer):
|
|||
"""
|
||||
|
||||
if "command" not in options:
|
||||
raise TypeError("CommandViewer missing required keyword-only argument 'command'")
|
||||
raise TypeError(
|
||||
"CommandViewer missing required keyword-only argument 'command'"
|
||||
)
|
||||
command = options["command"]
|
||||
if not isinstance(command, str):
|
||||
raise TypeError(f"'command' must be 'str' not '{type(command)}'")
|
||||
|
|
Loading…
Reference in New Issue
Block a user