diff --git a/xpra/client/base/command.py b/xpra/client/base/command.py index 56d95f0697..0251f90b0d 100644 --- a/xpra/client/base/command.py +++ b/xpra/client/base/command.py @@ -571,7 +571,8 @@ def make_hello(self) -> dict[str, Any]: class PrintClient(SendCommandConnectClient): - """ Allows us to send a file to the server for printing. + """ + Allows us to send a file to the server for printing. """ def set_command_args(self, command) -> None: @@ -581,8 +582,6 @@ def set_command_args(self, command) -> None: # filename, file_data, mimetype, source_uuid, title, printer, no_copies, print_options_str = packet[1:9] self.command = command[1:] - # TODO: load as needed... - if self.filename == "-": # replace with filename proposed self.filename = command[2]