From c28bcacdb3057283f42f1b1092ae0ec8daa13eba Mon Sep 17 00:00:00 2001 From: Christian Geier Date: Sun, 22 Feb 2015 16:16:43 +0100 Subject: [PATCH] expand paths before creating this should close #179 --- vdirsyncer/storage/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vdirsyncer/storage/filesystem.py b/vdirsyncer/storage/filesystem.py index 2a77979..08634c5 100644 --- a/vdirsyncer/storage/filesystem.py +++ b/vdirsyncer/storage/filesystem.py @@ -73,7 +73,7 @@ class FilesystemStorage(Storage): if collection is not None: rv['path'] = os.path.join(rv['path'], collection) - checkdir(rv['path'], create=True) + checkdir(expand_path(rv['path']), create=True) rv['collection'] = collection return kwargs