]> git.parisson.com Git - teleforma.git/commitdiff
bugfix
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 4 Jul 2017 21:21:13 +0000 (23:21 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Tue, 4 Jul 2017 21:21:13 +0000 (23:21 +0200)
teleforma/management/commands/teleforma-change-period-of-content.py

index 278be587f6b8ab3c70858fdd50aced61a1545a26..e4452ee792263dd4be291b9a5a502cd8272d33e5 100644 (file)
@@ -14,8 +14,8 @@ class Command(BaseCommand):
     admin_email = 'webmaster@parisson.com'
 
     def handle(self, *args, **options):
-        period_id_from = args[0]
-        period_id_to = args[1]
+        period_from_id = args[0]
+        period_to_id = args[1]
         year = args[2]
         period_from = Period.objects.get(id=period_from_id)
         period_to = Period.objects.get(id=period_to_id)