#20: Fix for traceback when remote_path option is missing.

This commit is contained in:
Dan Helfman 2016-06-13 08:53:41 -07:00
commit ed0127df91
3 changed files with 6 additions and 2 deletions

View file

@ -45,7 +45,7 @@ def main():
args = parse_arguments(*sys.argv[1:])
config = parse_configuration(args.config_filename, CONFIG_FORMAT)
repository = config.location['repository']
remote_path = config.location['remote_path']
remote_path = config.location.get('remote_path')
borg.initialize(config.storage)
borg.create_archive(