Skip to content
Snippets Groups Projects
Commit 9e861e9f authored by Jonathan Weth's avatar Jonathan Weth :keyboard: Committed by root
Browse files

Merge branch 'dev' into smartplan

parents a297331e 5434f10c
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,9 @@ def get_lesson_element_by_id_and_teacher(lesson_id, teacher, hour=None, weekday=
t = time
#print(t)
room = None
if t is not None:
if t is not None and len(t.rooms) > i:
print(t.rooms)
print(len(t.rooms))
room = t.rooms[i]
if el is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment