diff options
Diffstat (limited to 'management/commands/timetables.py')
-rw-r--r-- | management/commands/timetables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py index 88d9008..50256db 100644 --- a/management/commands/timetables.py +++ b/management/commands/timetables.py @@ -29,7 +29,7 @@ import requests @transaction.atomic def process_timetable_week(timetable, year, week, soup, weeks_in_soup): delete_courses_in_week(timetable, year, week) - for name, type_, groups, rooms, notes, begin, end in get_events(soup, weeks_in_soup, year, week, timetable): + for name, type_, groups, rooms, notes, begin, end in get_events(timetable, year, week, soup, weeks_in_soup): course = Course.objects.create(timetable=timetable, begin=begin, end=end) course.name = name course.type = type_ |