Apply 'make format'

This commit is contained in:
Jeremy Singer-Vine
2023-10-28 09:02:22 -04:00
parent dbf6a3edfd
commit 9815f7a2bf
+6 -2
View File
@@ -11,8 +11,12 @@ def _repair(
gs_path: Optional[Union[str, pathlib.Path]] = None,
) -> BytesIO:
executable = (gs_path or shutil.which("gs") or shutil.which("gswin32c")
or shutil.which("gswin64c"))
executable = (
gs_path
or shutil.which("gs")
or shutil.which("gswin32c")
or shutil.which("gswin64c")
)
if executable is None: # pragma: nocover
raise Exception(
"Cannot find Ghostscript, which is required for repairs.\n"