From 3b5e45a1e7722f07d394b7ef57eec1aa2cfe6310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 23 Sep 2023 11:38:25 +0200 Subject: [PATCH] fix: Properly stop when there is nothing to archive --- bin/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/archiver.py b/bin/archiver.py index 563f441c..eefcf80a 100755 --- a/bin/archiver.py +++ b/bin/archiver.py @@ -200,7 +200,7 @@ class Archiver(AbstractManager): if not to_archive: self.logger.info('Nothing to archive.') - return + return archiving_done for year, month_captures in to_archive.items(): for month, captures in month_captures.items():