From 411e80baa0be30114ddea2e1d69ea1621db063f5 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 12 Nov 2013 17:01:58 +0100 Subject: [PATCH] fix course pull --- teleforma/management/commands/teleforma-pull-courses.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teleforma/management/commands/teleforma-pull-courses.py b/teleforma/management/commands/teleforma-pull-courses.py index 7e4cb05e..488b8970 100644 --- a/teleforma/management/commands/teleforma-pull-courses.py +++ b/teleforma/management/commands/teleforma-pull-courses.py @@ -17,7 +17,6 @@ class Command(BaseCommand): args = "organization_name" def handle(self, *args, **options): - organization_name = args[-2] - department_name = args[-1] + organization_name = args[-1] view = CourseListView() view.pull(organization_name) -- 2.39.5