Skip to content
Snippets Groups Projects
Commit e6e4aaab authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Merge branch '16-filter-by-term-while-importing-supervisions' into 'master'

Resolve "Filter by term while importing supervisions"

Closes #16

See merge request !47
parents f2946c80 13482452
No related branches found
No related tags found
1 merge request!47Resolve "Filter by term while importing supervisions"
Pipeline #4933 passed
......@@ -355,6 +355,10 @@ def import_supervision_areas(
# Split more and get teacher id
raw_supervision_2 = raw_supervision.split("~")
teacher_id = int(raw_supervision_2[1])
term_id = int(raw_supervision_2[0])
if term_id != validity_range.import_ref_untis:
continue
if teacher_id in teachers_ref:
# Get weekday, period after break and teacher
......
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