From 03835ce6f52cd51d232469025a66fe197f6efed8 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Wed, 17 Apr 2024 14:51:12 +1000 Subject: [PATCH] Corrected UnixViewer command --- 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 4e505f2ee..f60b1e11e 100644 --- a/src/PIL/ImageShow.py +++ b/src/PIL/ImageShow.py @@ -199,7 +199,7 @@ class UnixViewer(Viewer): def get_command(self, file: str, **options: Any) -> str: command = self.get_command_ex(file, **options)[0] - return f"({command} {quote(file)}" + return f"{command} {quote(file)}" class XDGViewer(UnixViewer):