Fix a traceback (TypeError) regression in the "spot" check when the "local_path" option isn't set.

This commit is contained in:
Dan Helfman
2025-09-30 09:51:47 -07:00
parent b89f057be0
commit 13fbee858a
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -6,6 +6,8 @@
* #1151: Fix snapshotting in the ZFS, Btrfs, and LVM hooks to play nicely with the Borg 1.4+
"slashdot" hack within source directory paths.
* #1152: Fix a regression in the Loki monitoring hook in which log messages weren't sending.
* Fix a traceback (TypeError) regression in the "spot" check when the "local_path" option isn't
set.
2.0.8
* #1114: Document systemd configuration changes for the ZFS filesystem hook.
+1 -1
View File
@@ -66,7 +66,7 @@ def load_config_paths_from_archive(
config,
local_borg_version,
global_arguments,
local_path=config.get('local_path'),
local_path=config.get('local_path', 'borg'),
remote_path=config.get('remote_path'),
extract_to_stdout=True,
)