mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Fix autodiscovery for radicale
See https://github.com/Kozea/Radicale/pull/95#issuecomment-50314561
This commit is contained in:
parent
574869f619
commit
667c10ef00
1 changed files with 2 additions and 2 deletions
|
|
@ -61,8 +61,8 @@ class Discover(object):
|
||||||
:returns: a list of the user's collections (as urls)
|
:returns: a list of the user's collections (as urls)
|
||||||
:rtype: list(unicode)
|
:rtype: list(unicode)
|
||||||
"""
|
"""
|
||||||
for principal in self._find_principal():
|
for principal in list(self._find_principal()) or ['']:
|
||||||
for home in self._find_home(principal):
|
for home in list(self._find_home(principal)) or ['']:
|
||||||
for collection in self._find_collections(home):
|
for collection in self._find_collections(home):
|
||||||
yield collection
|
yield collection
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue