Skip to content

Commit 8b99d28

Browse files
authored
Fix a bug in loading davobject
1 parent 20dcb38 commit 8b99d28

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

caldav/calendarobjectresource.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,7 @@ def load(self, only_if_unloaded: bool = False) -> Self:
634634
except error.NotFoundError:
635635
raise
636636
except:
637-
self.load_by_multiget()
638-
self.data = vcal.fix(r.raw)
637+
return self.load_by_multiget()
639638
if "Etag" in r.headers:
640639
self.props[dav.GetEtag.tag] = r.headers["Etag"]
641640
if "Schedule-Tag" in r.headers:

0 commit comments

Comments
 (0)