diff --git a/NEWS b/NEWS index af155a90..25d95fd8 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +1.0.2 + + * #20: Fix for traceback when remote_path option is missing. + 1.0.1 * #19: Support for Borg's --remote-path option to use an alternate Borg diff --git a/borgmatic/command.py b/borgmatic/command.py index bf6713de..784b74a4 100644 --- a/borgmatic/command.py +++ b/borgmatic/command.py @@ -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( diff --git a/setup.py b/setup.py index 91d6f38f..55fa95e6 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages -VERSION = '1.0.1' +VERSION = '1.0.2' setup(