From f0b9cbfab0cfd5495841182010174ce9cd4d5b3b Mon Sep 17 00:00:00 2001 From: Helge Jung <hej@c3pb.de> Date: Sat, 30 Dec 2023 15:04:15 +0100 Subject: [PATCH] bugfix: remove (now) obsolete code in schedule export --- src/api/schedule.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/api/schedule.py b/src/api/schedule.py index 991605607..cf26a3c40 100644 --- a/src/api/schedule.py +++ b/src/api/schedule.py @@ -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): -- GitLab