diff --git a/icalevents/icalparser.py b/icalevents/icalparser.py index 950528d..3d383d0 100644 --- a/icalevents/icalparser.py +++ b/icalevents/icalparser.py @@ -50,6 +50,7 @@ class Event: self.attendee = None self.organizer = None self.categories = None + self.status = None def time_left(self, time=None): """ @@ -227,6 +228,9 @@ def create_event(component, tz=UTC): encoded_categories.append(encode(category)) event.categories = encoded_categories + if component.get("status"): + event.status = component.get("status") + return event