mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fix another bug during collection creation
This commit is contained in:
parent
cbc00630f2
commit
9446d388d0
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue