diff options
author | Tobias Brox <tobias@redpill-linpro.com> | 2021-11-13 12:49:44 +0000 |
---|---|---|
committer | Tobias Brox <tobias@redpill-linpro.com> | 2021-11-13 12:49:44 +0000 |
commit | afd95f0ac58d80c88ea001586b3dd4576e356e1a (patch) | |
tree | 9077de93a5cc09d870b4189ffe402e676d27a422 /caldav/objects.py | |
parent | 72e303264d7347a2d9bdf6dddb618eb72b747d56 (diff) | |
download | python-caldav-afd95f0ac58d80c88ea001586b3dd4576e356e1a.zip |
Commented on the discoveries made in https://github.com/python-caldav/caldav/issues/153 in the examples file
Diffstat (limited to 'caldav/objects.py')
-rw-r--r-- | caldav/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caldav/objects.py b/caldav/objects.py index ff4f7ea..1730dca 100644 --- a/caldav/objects.py +++ b/caldav/objects.py @@ -435,7 +435,7 @@ class Principal(DAVObject): def calendar_home_set(self): if not self._calendar_home_set: calendar_home_set_url = self.get_property(cdav.CalendarHomeSet()) - ## owncloud returns remote.php/dav/calendars/tobixen@e.email/ + ## owncloud returns /remote.php/dav/calendars/tobixen@e.email/ ## in that case the @ should be quoted. Perhaps other ## implentations returns already quoted URLs. Hacky workaround: if '@' in calendar_home_set_url and not '://' in calendar_home_set_url: |