aboutsummaryrefslogtreecommitdiff
path: root/management/commands/timetables.py
diff options
context:
space:
mode:
authorAlban Gruin2017-02-27 10:56:54 +0100
committerAlban Gruin2017-02-27 10:56:54 +0100
commitba7d2e5c5a78170fa178cd6f9a07a35ec385b63a (patch)
tree6c543b099d1b5ea72322e3a40c06feac170f260d /management/commands/timetables.py
parent1511f5755ff98c15ed3b5a882ae5d24f399a03af (diff)
Léger reformatage
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 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_