Corrected UnixViewer command

This commit is contained in:
Andrew Murray 2024-04-17 14:51:12 +10:00
parent 0e90c1c9ae
commit 03835ce6f5

View File

@ -199,7 +199,7 @@ class UnixViewer(Viewer):
def get_command(self, file: str, **options: Any) -> str: def get_command(self, file: str, **options: Any) -> str:
command = self.get_command_ex(file, **options)[0] command = self.get_command_ex(file, **options)[0]
return f"({command} {quote(file)}" return f"{command} {quote(file)}"
class XDGViewer(UnixViewer): class XDGViewer(UnixViewer):