remove short config path
This commit is contained in:
parent
2ee189f0eb
commit
b6d00e79b8
|
@ -56,11 +56,8 @@ def configuration():
|
|||
home = os.getenv('HOME')
|
||||
config_file = "borg_interface.cfg"
|
||||
config_long_path = home + "/.config/borg_interface/" + config_file
|
||||
config_short_path = home + "/." + config_file
|
||||
if os.path.isfile(config_long_path):
|
||||
config.read(config_long_path)
|
||||
elif os.path.isfile(config_short_path):
|
||||
config.read(config_short_path)
|
||||
elif os.path.isfile(config_file):
|
||||
config.read(config_file)
|
||||
else:
|
||||
|
|
Reference in New Issue