From d66e2d2b9357d6cfeef8c77a02485aec460db048 Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 3 Feb 2021 20:21:53 +0100 Subject: [PATCH] fixed syntax mistake --- demo_mover/remote_sftp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo_mover/remote_sftp.py b/demo_mover/remote_sftp.py index 9b475322..af6c307c 100644 --- a/demo_mover/remote_sftp.py +++ b/demo_mover/remote_sftp.py @@ -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()