Improved admin UI performance
This commit is contained in:
parent
07730799b6
commit
25df6505bb
|
@ -55,7 +55,7 @@ def BashSSH(backend, log, server, cmds):
|
||||||
# Copy script to remote server
|
# Copy script to remote server
|
||||||
sftp = paramiko.SFTPClient.from_transport(transport)
|
sftp = paramiko.SFTPClient.from_transport(transport)
|
||||||
sftp.put(path, remote_path)
|
sftp.put(path, remote_path)
|
||||||
sftp.chmod(remote_path, '0600')
|
sftp.chmod(remote_path, 0600)
|
||||||
sftp.close()
|
sftp.close()
|
||||||
os.remove(path)
|
os.remove(path)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue