diff options
Diffstat (limited to 'scripts/gen_map/gen_map.py')
| -rwxr-xr-x | scripts/gen_map/gen_map.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/gen_map/gen_map.py b/scripts/gen_map/gen_map.py index 979045b6..8b3ebc0f 100755 --- a/scripts/gen_map/gen_map.py +++ b/scripts/gen_map/gen_map.py @@ -52,8 +52,8 @@ WEEKLY_HOURS = { 11: 2 }, 'nt_gym': { - 6: 2, - 7: 2 + 6: 1, + 7: 1 } } @@ -189,6 +189,9 @@ def get_lehrplan(subject: str, form: str, form_type: str) -> Lehrplan: lehrplan[int(num.split('.')[0]) - 1].subsections.append( LehrplanSection(num, summary, duration)) + if subject == 'nt_gym': + return [s for s in lehrplan if 'Informatik' in s.summary] + return lehrplan |
