def get_day(self): """ :return: The name of the weekday the event occurs """ try: day = self.data["dayNum"] return calendar.day_name[day - 1] except: pass