From 054bd524825f8434a45b7ce13cf690c2ba12ed13 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 11 Jul 2023 22:16:42 -0700 Subject: [PATCH] Fix incorrect merge from main that broke tests (#721). --- borgmatic/borg/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borgmatic/borg/environment.py b/borgmatic/borg/environment.py index 136cf95e..fbe99b63 100644 --- a/borgmatic/borg/environment.py +++ b/borgmatic/borg/environment.py @@ -45,7 +45,7 @@ def make_environment(config): option_name, environment_variable_name, ) in DEFAULT_BOOL_OPTION_TO_UPPERCASE_ENVIRONMENT_VARIABLE.items(): - value = storage_config.get(option_name, False) + value = config.get(option_name, False) environment[environment_variable_name] = 'YES' if value else 'NO' return environment