fixed syntax mistake
This commit is contained in:
parent
25eb89d33d
commit
d66e2d2b93
@ -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