Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openssh_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def scp_command(self, files, target):
if self.identity_file:
cmd += ['-i', self.identity_file]
if self.port:
cmd += ['-P', self.port]
cmd += ['-P', str(self.port)]

if isinstance(files, (text, bytes)):
raise ValueError('"files" argument have to be iterable (list or tuple)')
Expand Down