We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5307dc1 commit 2e02011Copy full SHA for 2e02011
1 file changed
ietf/secr/proceedings/proc_utils.py
@@ -40,11 +40,11 @@ def check_audio_files(group,meeting):
40
Example: ietf90-salonb-20140721-1710-pm3.mp3
41
42
'''
43
- for session in Session.objects.filter(group=group,meeting=meeting,status='sched'):
44
- try:
45
- timeslot = session.official_timeslotassignment().timeslot
46
- except IndexError:
47
- continue
+ for session in Session.objects.filter(group=group,
+ meeting=meeting,
+ status=('sched'),
+ timeslotassignments__schedule=meeting.agenda):
+ timeslot = session.official_timeslotassignment().timeslot
48
if not (timeslot.location and timeslot.time):
49
continue
50
room = timeslot.location.name.lower()
0 commit comments