fixed syntax mistake
This commit is contained in:
parent
cccd1994b5
commit
51fcdeae5e
@ -117,5 +117,5 @@ class sftp_remote:
|
||||
last_modified = datetime.fromtimestamp(utime)
|
||||
if (datetime.now() - last_modified) > timedelta(days=30 * 3):
|
||||
print('deleting file remotely: ', pathfile)
|
||||
self.sftp.remove(path)
|
||||
self.sftp.remove(pathfile)
|
||||
self.disconnect()
|
||||
|
Loading…
Reference in New Issue
Block a user