Improved admin UI performance

This commit is contained in:
root 2014-11-02 14:41:50 +00:00
parent 07730799b6
commit 25df6505bb

View file

@ -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)