mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-08 05:04:45 +08:00
tests: Avoid checking for restic archive presence
This commit is contained in:
parent
d5c32bde2a
commit
9737d5fad1
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue