From ff2780832075c9ee8e0b1473f1577ed114b00333 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 18 Nov 2023 02:47:43 +0100 Subject: [PATCH] fix: Path in index may be the full path (old format) --- bin/archiver.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/archiver.py b/bin/archiver.py index 3b45a0b6..473ea5a3 100755 --- a/bin/archiver.py +++ b/bin/archiver.py @@ -120,6 +120,7 @@ class Archiver(AbstractManager): if str(dir_on_disk) not in current_index_dirs: new_captures.add(dir_on_disk) else: + current_dirs.add(str(dir_on_disk)) current_dirs.add(dir_on_disk.name) else: @@ -139,6 +140,7 @@ class Archiver(AbstractManager): if str(dir_on_disk) not in current_index_dirs: new_captures.add(dir_on_disk) else: + current_dirs.add(str(dir_on_disk)) current_dirs.add(dir_on_disk.name) # Check if all the directories in current_dirs (that we got by listing the directory)