Make proceedings generation more robust. Commit ready for merge.
- Legacy-Id: 9618
This commit is contained in:
parent
9d43c3b526
commit
e99af9319c
|
@ -80,7 +80,8 @@ def get_extras(meeting):
|
|||
groups = []
|
||||
sessions = Session.objects.filter(meeting=meeting).exclude(group__parent__acronym__in=('app','gen','int','ops','rai','rtg','sec','tsv','irtf'))
|
||||
for session in sessions:
|
||||
if get_timeslot(session).type.slug == 'session' and session.materials.all():
|
||||
timeslot = get_timeslot(session)
|
||||
if timeslot and timeslot.type.slug == 'session' and session.materials.all():
|
||||
groups.append(session.group)
|
||||
return groups
|
||||
|
||||
|
|
Loading…
Reference in a new issue