updated backups system

This commit is contained in:
jenz
2023-05-10 22:38:52 +02:00
parent f79327a11f
commit 2385004da4
4 changed files with 173 additions and 47 deletions
+2 -1
View File
@@ -133,7 +133,7 @@ class sftp_remote:
local_temp_folder = local_path_get + "/tempfolder/"
try:
self.connect()
#print('remote_path chdir: ', remote_path)
print('remote_path chdir: ', remote_path)
self.sftp.chdir(remote_path) # Test if remote_path exists
except IOError:
self.sftp.mkdir(remote_path)
@@ -204,3 +204,4 @@ class sftp_remote:
def delete_local_zip(self, local_zip_path_name):
os.remove(local_zip_path_name)