From 9737d5fad1162bb401e4722e5c97dd00243075dc Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 10 Dec 2024 23:48:30 +0100 Subject: [PATCH] tests: Avoid checking for restic archive presence --- RESTIC_SOURCE_FILES/update_restic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RESTIC_SOURCE_FILES/update_restic.py b/RESTIC_SOURCE_FILES/update_restic.py index 77c2002..b2fa07d 100644 --- a/RESTIC_SOURCE_FILES/update_restic.py +++ b/RESTIC_SOURCE_FILES/update_restic.py @@ -53,7 +53,7 @@ def download_restic_binaries(arch: str = "amd64") -> bool: if not dest_dir.joinpath("ARCHIVES").is_dir(): os.makedirs(dest_dir.joinpath("ARCHIVES")) - dest_file = dest_dir.joinpath("restic_" + current_version + fname + arch_suffix) + dest_file = dest_dir.joinpath("restic_" + current_version + fname + suffix) if dest_file.is_file(): print(f"RESTIC SOURCE ALREADY PRESENT. NOT DOWNLOADING {dest_file}")