tests: Avoid checking for restic archive presence

This commit is contained in:
deajan 2024-12-10 23:48:30 +01:00
parent d5c32bde2a
commit 9737d5fad1

View file

@ -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}")