From 587817fbf5d755505f1cab1a37db8e8c7c99dc2c Mon Sep 17 00:00:00 2001 From: Einar Forselv Date: Thu, 18 Apr 2019 05:34:01 +0200 Subject: [PATCH] Replace slash in container name --- restic_volume_backup/containers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restic_volume_backup/containers.py b/restic_volume_backup/containers.py index 00da419..fbf732c 100644 --- a/restic_volume_backup/containers.py +++ b/restic_volume_backup/containers.py @@ -15,7 +15,7 @@ class Container: def __init__(self, data): self._data = data self.id = data['Id'] - self.name = data['Name'] + self.name = data['Name'].replace('/', '') self._state = data.get('State') self._config = data.get('Config')