]> git.parisson.com Git - teleforma.git/commitdiff
fix course pull
authorGuillaume Pellerin <yomguy@parisson.com>
Tue, 12 Nov 2013 16:01:58 +0000 (17:01 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Tue, 12 Nov 2013 16:01:58 +0000 (17:01 +0100)
teleforma/management/commands/teleforma-pull-courses.py

index 7e4cb05e3ad4e10d7d3c848136868de8acebf8b1..488b897082bd24588543ff4ef494d25ddf55569b 100644 (file)
@@ -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)