mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Actually check for dav_headers
This commit is contained in:
parent
cef25b58da
commit
226006f985
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ class DavStorage(Storage):
|
||||||
'username', 'password', 'verify', 'auth', 'useragent'
|
'username', 'password', 'verify', 'auth', 'useragent'
|
||||||
))
|
))
|
||||||
d = cls.discovery_class(DavSession(
|
d = cls.discovery_class(DavSession(
|
||||||
url=url, dav_header=None, **discover_args))
|
url=url, dav_header=cls.dav_header, **discover_args))
|
||||||
for c in d.discover():
|
for c in d.discover():
|
||||||
base, collection = c['href'].rstrip('/').rsplit('/', 1)
|
base, collection = c['href'].rstrip('/').rsplit('/', 1)
|
||||||
s = cls(url=base, collection=collection, **kwargs)
|
s = cls(url=base, collection=collection, **kwargs)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue