From 7f383fcce2074ba013880cad11fd7d1f941fc4cb Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 26 Dec 2023 20:33:35 +0100 Subject: [PATCH] Solved undefined variable bug --- backup-docker-to-local.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backup-docker-to-local.py b/backup-docker-to-local.py index 16b5441..0268cdd 100644 --- a/backup-docker-to-local.py +++ b/backup-docker-to-local.py @@ -161,6 +161,7 @@ def is_image_ignored(container, ignored_images): def backup_routine_for_volume(volume_name, containers, databases, version_dir, whitelisted_images, versions_dir): """Perform backup routine for a given volume.""" + volume_dir="" for container in containers: # Skip ignored images