Skip to content

Commit 3bf1beb

Browse files
committed
fix a bug discovered with adhoc testing
- Legacy-Id: 9599
1 parent 0ba095e commit 3bf1beb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/secr/meetings/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def build_timeslots(meeting,room=None):
5555
slots = meeting.timeslot_set.filter(type='session')
5656

5757
# Don't do anything if the room is not capable of handling sessions
58-
if not room.session_types.filter(slug='session'):
58+
if room and not room.session_types.filter(slug='session'):
5959
return
6060

6161
if room:

0 commit comments

Comments
 (0)