fix: Properly stop when there is nothing to archive

pull/790/head
Raphaël Vinot 2023-09-23 11:38:25 +02:00
parent a1619d013f
commit 3b5e45a1e7
1 changed files with 1 additions and 1 deletions

View File

@ -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():