mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-09 13:11:58 +08:00
upgrade_server: Fix search path for archives
This commit is contained in:
parent
1a92e8665e
commit
48c7fe8374
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ def _get_path_from_target_id(target_id: ClientTargetIdentification) -> Tuple[str
|
||||||
else:
|
else:
|
||||||
extension = "tar.gz"
|
extension = "tar.gz"
|
||||||
|
|
||||||
expected_filename = f"npbackup-{target_id.platform.value}-{target_id.build_type.value}-{target_id.audience.value}.{extension}"
|
expected_filename = f"npbackup-{target_id.platform.value}-{target_id.arch.value}-{target_id.build_type.value}-{target_id.audience.value}.{extension}"
|
||||||
|
|
||||||
base_path = os.path.join(
|
base_path = os.path.join(
|
||||||
config_dict["upgrades"]["data_root"],
|
config_dict["upgrades"]["data_root"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue