aboutsummaryrefslogtreecommitdiff
path: root/management/commands/timetables.py
diff options
context:
space:
mode:
Diffstat (limited to 'management/commands/timetables.py')
-rw-r--r--management/commands/timetables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/management/commands/timetables.py b/management/commands/timetables.py
index 99742ae..c67cb0b 100644
--- a/management/commands/timetables.py
+++ b/management/commands/timetables.py
@@ -39,7 +39,7 @@ class Command(BaseCommand):
weeks = get_weeks(soup)
for name, type_, groups, rooms, notes, begin, end in get_events(soup, weeks, week, timetable):
- course = Course.objects.create(name=name, notes=notes, timetable=timetable, begin=begin, end=end)
+ course = Course.objects.create(name=name, type=type_, notes=notes, timetable=timetable, begin=begin, end=end)
course.groups.add(*groups)
if rooms is not None: