From 4f7f5470b13b4006db58f2e2396ea0f17c3de373 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 6 Jul 2022 08:30:24 +1000 Subject: [PATCH] Fixed typo --- src/PIL/ImageShow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/ImageShow.py b/src/PIL/ImageShow.py index 1b2b9f05fbf..9f9a551fb6f 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -178,7 +178,7 @@ def show_file(self, path=None, **options): else: raise TypeError("Missing required argument: 'path'") subprocess.call(["open", "-a", "Preview.app", path]) - exectable = sys.executable or shutil.which("python3") + executable = sys.executable or shutil.which("python3") if executable: subprocess.Popen( [