Skip to content

Commit 9ab95a4

Browse files
committed
Import non-WG sessions on timeslots "other" as we used to do to make
it easier to differentiate between schedulable and non-schedulable time slots - Legacy-Id: 3919
1 parent 480cb04 commit 9ab95a4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

redesign/importing/import-meetings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555

5656
session_status_mapping[0] = session_status_mapping[1] # assume broken statuses of 0 are actually cancelled
5757

58+
other_slot = name(TimeSlotTypeName, "other", "Other")
5859
session_slot = name(TimeSlotTypeName, "session", "Session")
5960
break_slot = name(TimeSlotTypeName, "break", "Break")
6061
registration_slot = name(TimeSlotTypeName, "reg", "Registration")
@@ -361,6 +362,8 @@ def get_timeslot(attr):
361362

362363
if "Plenary" in timeslot.name:
363364
timeslot.type = plenary_slot
365+
else:
366+
timeslot.type = other_slot
364367
else:
365368
s.group = Group.objects.get(acronym=acronym.acronym)
366369
s.attendees = o.number_attendee

0 commit comments

Comments
 (0)