fix: print put command

This commit is contained in:
Peter Siegel
2025-02-02 11:08:39 +01:00
parent 894c28fa28
commit b2583960c0

View File

@@ -201,6 +201,8 @@ class Connection(ConnectionBase):
f"{self.get_option('remote')}:{self._host()}/{out_path}"
])
self._display.vvvvv(f"PUT COMMAND {local_cmd}", host=self._host())
local_cmd = [to_bytes(i, errors='surrogate_or_strict') for i in local_cmd]
process = Popen(local_cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)