From: Guillaume Pellerin Date: Tue, 4 Jul 2017 21:21:13 +0000 (+0200) Subject: bugfix X-Git-Tag: 1.1~15^2~6 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=06a9c145ec60b5549b39fa658450cdc71bbba178;p=teleforma.git bugfix --- diff --git a/teleforma/management/commands/teleforma-change-period-of-content.py b/teleforma/management/commands/teleforma-change-period-of-content.py index 278be587..e4452ee7 100644 --- a/teleforma/management/commands/teleforma-change-period-of-content.py +++ b/teleforma/management/commands/teleforma-change-period-of-content.py @@ -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)