We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba095e commit 3bf1bebCopy full SHA for 3bf1beb
1 file changed
ietf/secr/meetings/views.py
@@ -55,7 +55,7 @@ def build_timeslots(meeting,room=None):
55
slots = meeting.timeslot_set.filter(type='session')
56
57
# Don't do anything if the room is not capable of handling sessions
58
- if not room.session_types.filter(slug='session'):
+ if room and not room.session_types.filter(slug='session'):
59
return
60
61
if room:
0 commit comments