expand paths before creating

this should close #179
This commit is contained in:
Christian Geier 2015-02-22 16:16:43 +01:00
parent 2717c14e0c
commit c28bcacdb3

View file

@ -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