We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9609dfc + e99af93 commit 8a32ffbCopy full SHA for 8a32ffb
1 file changed
ietf/secr/proceedings/views.py
@@ -80,7 +80,8 @@ def get_extras(meeting):
80
groups = []
81
sessions = Session.objects.filter(meeting=meeting).exclude(group__parent__acronym__in=('app','gen','int','ops','rai','rtg','sec','tsv','irtf'))
82
for session in sessions:
83
- if get_timeslot(session).type.slug == 'session' and session.materials.all():
+ timeslot = get_timeslot(session)
84
+ if timeslot and timeslot.type.slug == 'session' and session.materials.all():
85
groups.append(session.group)
86
return groups
87
0 commit comments