Skip to content

Commit a85725e

Browse files
committed
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
1 parent 9209be4 commit a85725e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ietf/secr/proceedings/proc_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ def check_audio_files(group,meeting):
4141
timeslot = session.official_scheduledsession().timeslot
4242
except IndexError:
4343
continue
44+
if not (timeslot.location and timeslot.time):
45+
continue
4446
room = timeslot.location.name.lower()
4547
room = room.replace(' ','')
4648
room = room.replace('/','')

0 commit comments

Comments
 (0)