From 287c8cf127838ba5eaa20051900a7ccf8a6602da Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Tue, 20 Feb 2024 19:53:22 +0100 Subject: [PATCH] commit message from python script --- rclone/main/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rclone/main/main.py b/rclone/main/main.py index 8c2dac0..9fcdf46 100755 --- a/rclone/main/main.py +++ b/rclone/main/main.py @@ -19,7 +19,7 @@ def rclone_folders_copy(folder_to_sync=list, dest_folder = str): command = subprocess.run(list_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if command.returncode == 0: check_list.append(True) - elif command > 0: + elif command.returncode > 0: check_list.append(False) print("Folder", "rclone:" + sync_folder , "not exist") print("Kopiere Datein", dest_folder + os.sep + sync_folder, "..." )