From f40eb004353d3831557ffbf524d908ea0dd31676 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 29 Oct 2024 12:29:35 +0100 Subject: [PATCH] Cleaner output for snapshots closes #63 --- backupbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backupbot.py b/backupbot.py index 525d4ca..f2b6570 100755 --- a/backupbot.py +++ b/backupbot.py @@ -440,7 +440,7 @@ def path_exists(path): def snapshots(): snapshots = get_snapshots() for snap in snapshots: - output = [snap['time'], snap['id']] + output = [snap['time'].split('.')[0], snap['short_id']] if tags:= snap.get('tags'): app_versions = app_versions_from_tags(tags) if version:= app_versions.get(SERVICE):