Skip to content

Commit

Permalink
Merge pull request #7987 from radarhere/imageshow
Browse files Browse the repository at this point in the history
Corrected ImageShow UnixViewer command
  • Loading branch information
hugovk authored Apr 17, 2024
2 parents c20804d + 03835ce commit b3749e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageShow.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def get_command_ex(self, file: str, **options: Any) -> tuple[str, str]:

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):
Expand Down

0 comments on commit b3749e4

Please sign in to comment.