Skip to content

Commit

Permalink
fix: print put command
Browse files Browse the repository at this point in the history
  • Loading branch information
yeetypete committed Feb 2, 2025
1 parent 894c28f commit b258396
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/connection/lxd.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,8 @@ def put_file(self, in_path, out_path):
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)
Expand Down

0 comments on commit b258396

Please sign in to comment.