From 6864890ea928ef0699b5074a21344a4193bc70b0 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Thu, 15 Dec 2016 15:25:37 +0100 Subject: [PATCH] correct variable names --- borg_interface/interface_functions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/borg_interface/interface_functions.py b/borg_interface/interface_functions.py index 1c09279..325f6a9 100644 --- a/borg_interface/interface_functions.py +++ b/borg_interface/interface_functions.py @@ -55,10 +55,10 @@ def configuration(): # the binary home = os.getenv('HOME') config_file = "borg_interface.cfg" - config_path = ".config/borg_interface/" - config_full_path = os.path.join(home, config_path, config_file) - if os.path.isfile(config_full_path): - config.read(config_full_path) + config_folder = ".config/borg_interface/" + config_path = os.path.join(home, config_folder, config_file) + if os.path.isfile(config_path): + config.read(config_path) elif os.path.isfile(config_file): config.read(config_file) else: