Skip to content
Snippets Groups Projects
Commit 1de78d3e authored by Andreas Hubel's avatar Andreas Hubel
Browse files

chore(schedule-export): drop integer id from voc slug

parent f2a7af24
No related branches found
No related tags found
No related merge requests found
......@@ -162,7 +162,7 @@ class ScheduleEncoder(json.JSONEncoder):
start = event.schedule_start.astimezone(tz or self.tz) if event.schedule_start is not None else None
additional_data = event.additional_data or {}
legacy_id = additional_data.get('id') or int(re.sub('[^0-9]+', '', str(event.id))[0:6])
slug = f'{event.conference.slug}-{legacy_id}-{event.slug}'
slug = f'{event.conference.slug}-{event.slug}'
if event.streaming == Event.Streaming.NO:
additional_data['do_not_stream'] = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment