Added a guard against crashing because of missing timeslot location or time in check_audio_files(), which is called by create_proceedings() after changes to meeting materials. Fixes issue 1604.
- Legacy-Id: 9085
This commit is contained in:
parent
9209be4656
commit
a85725e146
|
@ -41,6 +41,8 @@ def check_audio_files(group,meeting):
|
|||
timeslot = session.official_scheduledsession().timeslot
|
||||
except IndexError:
|
||||
continue
|
||||
if not (timeslot.location and timeslot.time):
|
||||
continue
|
||||
room = timeslot.location.name.lower()
|
||||
room = room.replace(' ','')
|
||||
room = room.replace('/','')
|
||||
|
|
Loading…
Reference in a new issue