fixed syntax mistake

This commit is contained in:
Christian 2021-02-03 20:21:53 +01:00
parent 25eb89d33d
commit d66e2d2b93

View File

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