diff --git a/src/openflexure_microscope_server/stitching.py b/src/openflexure_microscope_server/stitching.py index 49916e10..311a00a4 100644 --- a/src/openflexure_microscope_server/stitching.py +++ b/src/openflexure_microscope_server/stitching.py @@ -225,7 +225,8 @@ class PreviewStitcher(BaseStitcher): # Windows has no SIGKILL self._popen_obj.kill() else: - self._popen_obj.send_signal(signal.SIGKILL) + # ignore this line in mypy as mypy doesn't understand using the bool as a check + self._popen_obj.send_signal(signal.SIGKILL) # type: ignore[attr-defined] raise (e)