mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Test MKCOL in Radicale
This commit is contained in:
parent
8131166dce
commit
fb5f093bdf
1 changed files with 3 additions and 2 deletions
|
|
@ -116,8 +116,9 @@ class ServerMixin(object):
|
|||
'collection': collection, 'unsafe_href_chars': ''}
|
||||
|
||||
if collection is not None:
|
||||
# XXX: Create collection, works around
|
||||
# https://github.com/Kozea/Radicale/pull/236
|
||||
if storage_backend != 'multifilesystem':
|
||||
# XXX: https://github.com/Kozea/Radicale/pull/236
|
||||
rv = self.storage_class.create_collection(**rv)
|
||||
s = self.storage_class(**rv)
|
||||
s.delete(*s.upload(get_item()))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue