fix datetime check

This commit is contained in:
Ruben Blanco 2024-05-22 15:26:25 +02:00
parent 58c7a7ee57
commit b122be4301
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ def check_backups(directory, filenames):
# Comprobar todos los archivos esperados
for base_name in filenames:
expected_filename = f"{base_name}-{today}-0010.zip"
expected_filename = f"{base_name}-{today}.zip"
full_path = os.path.join(directory, expected_filename)
if not os.path.exists(full_path):