fix datetime check
This commit is contained in:
parent
58c7a7ee57
commit
b122be4301
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue