fix: print put command

pull/9659/head
Peter Siegel 2025-02-02 11:08:39 +01:00
parent 894c28fa28
commit b2583960c0
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

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)