diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 96e7591..e05815a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -15,6 +15,10 @@ Version 0.19.2 - Improve the performance of ``SingleFileStorage``. :gh:`818` - Properly document some caveats of the Google Contacts storage. - Fix crash when using auth certs. :gh:`1033` +- The ``filesystem`` storage can be specified with ``type = + "filesystem/icalendar"`` or ``type = "filesystem/vcard"``. This has not + functional impact, and is merely for forward compatibility with the Rust + implementation of vdirsyncer. Version 0.19.1 ============== diff --git a/vdirsyncer/cli/tasks.py b/vdirsyncer/cli/tasks.py index 2e38e1b..83014f6 100644 --- a/vdirsyncer/cli/tasks.py +++ b/vdirsyncer/cli/tasks.py @@ -110,7 +110,8 @@ async def repair_collection( storage_name, collection = storage_name.split("/") config = config.get_storage_args(storage_name) - storage_type = config["type"] + # If storage type has a slash, ignore it and anything after it. + storage_type = config["type"].split("/")[0] if collection is not None: cli_logger.info("Discovering collections (skipping cache).")