From 9446d388d08d3d5e84cb9ed06ce7966c53d117a7 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Sun, 8 Mar 2015 20:27:38 +0100 Subject: [PATCH] Fix another bug during collection creation --- vdirsyncer/cli/utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vdirsyncer/cli/utils.py b/vdirsyncer/cli/utils.py index f159822..64c9a88 100644 --- a/vdirsyncer/cli/utils.py +++ b/vdirsyncer/cli/utils.py @@ -210,8 +210,9 @@ def _handle_collection_not_found(config, collection, e=None): if click.confirm('Should vdirsyncer attempt to create it?'): storage_type = config['type'] cls, config = storage_class_from_config(config) + config['collection'] = collection try: - args = cls.create_collection(collection=collection, **config) + args = cls.create_collection(**config) args['type'] = storage_type return args except NotImplementedError as e: