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

chore(scheduleimport): add option to ignore missing rooms

parent 5d7b2a6a
No related branches found
No related tags found
No related merge requests found
......@@ -427,7 +427,7 @@ class ScheduleSource(models.Model):
allow_track = cfg.get('import_tracks') or False
# note down all existing rooms, events and speakers so that we can call out the missing ones
if self.assembly:
if self.assembly and cfg.get('missing_rooms') != 'ignore':
expected_rooms = list(self.assembly.rooms.values_list('id', flat=True))
else:
expected_rooms = list(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment