Skip to content
Snippets Groups Projects
Commit f0b9cbfa authored by HeJ's avatar HeJ
Browse files

bugfix: remove (now) obsolete code in schedule export

parent d45529e5
No related branches found
No related tags found
No related merge requests found
......@@ -156,10 +156,6 @@ class ScheduleEncoder(json.JSONEncoder):
# direct event lookup -> fetch persons via public_speakers
persons = event.public_speakers
# TODO remove this workaround once imported speakers are stored as participants
if event.additional_data and 'persons' in event.additional_data and len(event.additional_data['persons']) > 0:
persons += event.additional_data['persons']
return [self.encode_person(person) for person in persons]
def encode_event(self, event: Event, tz=None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment