From: Guillaume Pellerin Date: Thu, 17 Jun 2021 16:25:59 +0000 (+0200) Subject: bugfix X-Git-Tag: 2.1~66^2~2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c1d3f047543eacab39c85c03b0dcb90295822729;p=teleforma.git bugfix --- diff --git a/teleforma/management/commands/teleforma-export-wifi-accounts.py b/teleforma/management/commands/teleforma-export-wifi-accounts.py index 6847dfbb..87efeb42 100644 --- a/teleforma/management/commands/teleforma-export-wifi-accounts.py +++ b/teleforma/management/commands/teleforma-export-wifi-accounts.py @@ -27,8 +27,8 @@ class Command(BaseCommand): student = students[0] if student.is_subscribed and user.is_active and student.period == period: data = [] - data.append(u.first_name) - data.append(u.last_name) + data.append(user.first_name) + data.append(user.last_name) data.append(period.date_begin) data.append(period.date_end) # data.append(p.wifi_login)