mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-05 20:44:51 +08:00
tests: Fix typo
This commit is contained in:
parent
fe81ad4e78
commit
d5c32bde2a
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ def download_restic_binaries(arch: str = "amd64") -> bool:
|
|||
shutil.unpack_archive(full_path, dest_dir)
|
||||
try:
|
||||
# We don't drop the bz2 files on disk, so no need to move them to ARCHIVES
|
||||
if arch_suffix != "bz2":
|
||||
if arch_suffix != ".bz2":
|
||||
if dest_dir.joinpath("ARCHIVES").joinpath(filename).is_file():
|
||||
dest_dir.joinpath("ARCHIVES").joinpath(filename).unlink()
|
||||
shutil.move(full_path, dest_dir.joinpath("ARCHIVES").joinpath(filename))
|
||||
|
|
Loading…
Add table
Reference in a new issue