remove short config path

This commit is contained in:
Andreas Zweili 2016-12-15 15:06:20 +01:00
parent 2ee189f0eb
commit b6d00e79b8
1 changed files with 0 additions and 3 deletions

View File

@ -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: