Skip to content

Commit

Permalink
Corrected UnixViewer command
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Apr 17, 2024
1 parent 0e90c1c commit 03835ce
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)}"

Check warning on line 202 in src/PIL/ImageShow.py

View check run for this annotation

Codecov / codecov/patch

src/PIL/ImageShow.py#L202

Added line #L202 was not covered by tests


class XDGViewer(UnixViewer):
Expand Down

0 comments on commit 03835ce

Please sign in to comment.