Skip to content

Commit 8a32ffb

Browse files
committed
Merged in [9618] from rcross@amsl.com:
Make proceedings generation more robust. - Legacy-Id: 9621 Note: SVN reference [9618] has been migrated to Git commit e99af93
2 parents 9609dfc + e99af93 commit 8a32ffb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ietf/secr/proceedings/views.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ def get_extras(meeting):
8080
groups = []
8181
sessions = Session.objects.filter(meeting=meeting).exclude(group__parent__acronym__in=('app','gen','int','ops','rai','rtg','sec','tsv','irtf'))
8282
for session in sessions:
83-
if get_timeslot(session).type.slug == 'session' and session.materials.all():
83+
timeslot = get_timeslot(session)
84+
if timeslot and timeslot.type.slug == 'session' and session.materials.all():
8485
groups.append(session.group)
8586
return groups
8687

0 commit comments

Comments
 (0)