summaryrefslogtreecommitdiff
path: root/caldav/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'caldav/objects.py')
-rw-r--r--caldav/objects.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/caldav/objects.py b/caldav/objects.py
index 09a18b5..390c5f8 100644
--- a/caldav/objects.py
+++ b/caldav/objects.py
@@ -1140,12 +1140,16 @@ class ScheduleMailbox(Calendar):
except:
logging.debug("caldav server does not seem to support a sync-token REPORT query on a scheduling mailbox")
error.assert_('google' in str(self.url))
- self._items = self.children()
+ self._items = [CalendarObjectResource(url=x[0], client=self.client) for x in self.children()]
+ for x in self._items:
+ x.load()
else:
try:
self._items.sync()
except:
- self._items = self.children()
+ self._items = [CalendarObjectResource(url=x[0], client=self.client) for x in self.children()]
+ for x in self._items:
+ x.load()
return self._items
## TODO: work in progress