Fixed typo

This commit is contained in:
Andrew Murray 2022-07-06 08:30:24 +10:00
parent 527eecae80
commit 4f7f5470b1

View File

@ -178,7 +178,7 @@ class MacViewer(Viewer):
else: else:
raise TypeError("Missing required argument: 'path'") raise TypeError("Missing required argument: 'path'")
subprocess.call(["open", "-a", "Preview.app", path]) subprocess.call(["open", "-a", "Preview.app", path])
exectable = sys.executable or shutil.which("python3") executable = sys.executable or shutil.which("python3")
if executable: if executable:
subprocess.Popen( subprocess.Popen(
[ [