@@ -457,15 +457,15 @@ def slides_field(item):
457457 row .append ("r{}" .format (item .timeslot .pk ))
458458 elif item .timeslot .type_id == "other" :
459459 row .append ("None" )
460- row .append (item .timeslot .location .name )
460+ row .append (item .timeslot .location .name if item . timeslot . location else "" )
461461 row .append ("" )
462462 row .append (item .session .historic_group .acronym )
463463 row .append (item .session .historic_group .historic_parent .acronym .upper () if item .session .historic_group .historic_parent else "" )
464464 row .append (item .session .name )
465465 row .append (item .session .pk )
466466 elif item .timeslot .type_id == "plenary" :
467467 row .append (item .session .name )
468- row .append (item .timeslot .location .name )
468+ row .append (item .timeslot .location .name if item . timeslot . location else "" )
469469 row .append ("" )
470470 row .append (item .session .historic_group .acronym if item .session .historic_group else "" )
471471 row .append ("" )
@@ -475,7 +475,7 @@ def slides_field(item):
475475 row .append (slides_field (item ))
476476 elif item .timeslot .type_id == "session" :
477477 row .append (item .timeslot .name )
478- row .append (item .timeslot .location .name )
478+ row .append (item .timeslot .location .name if item . timeslot . location else "" )
479479 row .append (item .session .historic_group .historic_parent .acronym .upper () if item .session .historic_group .historic_parent else "" )
480480 row .append (item .session .historic_group .acronym if item .session .historic_group else "" )
481481 row .append ("BOF" if item .session .historic_group .state_id in ("bof" , "bof-conc" ) else item .session .historic_group .type .name )
0 commit comments