ksort commited on
Commit
b21b3ae
·
1 Parent(s): c1de0f3

update upload

Browse files
Files changed (1) hide show
  1. serve/upload.py +1 -1
serve/upload.py CHANGED
@@ -13,7 +13,7 @@ sftp_client = None
13
  sftp_client_imgs = None
14
 
15
  def create_ssh_client(server, port, user, password):
16
- global ssh_client, sftp_client
17
  ssh_client = paramiko.SSHClient()
18
  ssh_client.load_system_host_keys()
19
  ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
 
13
  sftp_client_imgs = None
14
 
15
  def create_ssh_client(server, port, user, password):
16
+ global ssh_client, sftp_client, sftp_client_imgs
17
  ssh_client = paramiko.SSHClient()
18
  ssh_client.load_system_host_keys()
19
  ssh_client.set_missing_host_key_policy(paramiko.AutoAddPolicy())