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

Merge pull request #69 from Katharineum/server

Bugfix 2 for #67 solved on server
parents cf0bb893 48dfdfbb
No related branches found
No related tags found
1 merge request!86Merge school-apps
......@@ -240,7 +240,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