mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +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?'):
|
if click.confirm('Should vdirsyncer attempt to create it?'):
|
||||||
storage_type = config['type']
|
storage_type = config['type']
|
||||||
cls, config = storage_class_from_config(config)
|
cls, config = storage_class_from_config(config)
|
||||||
|
config['collection'] = collection
|
||||||
try:
|
try:
|
||||||
args = cls.create_collection(collection=collection, **config)
|
args = cls.create_collection(**config)
|
||||||
args['type'] = storage_type
|
args['type'] = storage_type
|
||||||
return args
|
return args
|
||||||
except NotImplementedError as e:
|
except NotImplementedError as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue