Re-enable file removal
This commit is contained in:
parent
14395bdbdd
commit
612f47d551
|
@ -21,7 +21,7 @@ def download(ip, dest):
|
||||||
dest_file = dest / f
|
dest_file = dest / f
|
||||||
print('Grabbing file', source_file)
|
print('Grabbing file', source_file)
|
||||||
sftp.get(source_file, dest_file)
|
sftp.get(source_file, dest_file)
|
||||||
#sftp.remove(source_file)
|
sftp.remove(source_file)
|
||||||
|
|
||||||
if sftp: sftp.close()
|
if sftp: sftp.close()
|
||||||
if transport: transport.close()
|
if transport: transport.close()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user