Skip to content

Commit b3749e4

Browse files
authored
Merge pull request #7987 from radarhere/imageshow
Corrected ImageShow UnixViewer command
2 parents c20804d + 03835ce commit b3749e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/ImageShow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def get_command_ex(self, file: str, **options: Any) -> tuple[str, str]:
199199

200200
def get_command(self, file: str, **options: Any) -> str:
201201
command = self.get_command_ex(file, **options)[0]
202-
return f"({command} {quote(file)}"
202+
return f"{command} {quote(file)}"
203203

204204

205205
class XDGViewer(UnixViewer):

0 commit comments

Comments
 (0)