diff --git a/orchestra/apps/orchestration/methods.py b/orchestra/apps/orchestration/methods.py index b5185fc5..634a08a2 100644 --- a/orchestra/apps/orchestration/methods.py +++ b/orchestra/apps/orchestration/methods.py @@ -55,7 +55,7 @@ def BashSSH(backend, log, server, cmds): # Copy script to remote server sftp = paramiko.SFTPClient.from_transport(transport) sftp.put(path, remote_path) - sftp.chmod(remote_path, '0600') + sftp.chmod(remote_path, 0600) sftp.close() os.remove(path)