From 4a49c4a7f0a21543c40260ac0a913d68256b96eb Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 22 Oct 2024 14:18:15 +0200 Subject: [PATCH] fix download command / dump function --- backupbot.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backupbot.py b/backupbot.py index 10b4efb..624510d 100755 --- a/backupbot.py +++ b/backupbot.py @@ -521,7 +521,6 @@ def dump(snapshot, path): logger.error(f"There is no latest snapshot for {SERVICE}") exit(1) snapshot = latest_snapshot[0]['short_id'] - cmd.append(snapshot) cmd = cmd + [snapshot, path] print(f"Dumping {path} from snapshot '{snapshot}'") output = subprocess.run(cmd, capture_output=True)