diff --git a/greg/management/commands/import_guests.py b/greg/management/commands/import_guests.py index 67edccd9f83a0f4eccbc5cc351f087d28fdb79a4..ab3b84ac8807c068a4c899af24498e538c2e4ec5 100644 --- a/greg/management/commands/import_guests.py +++ b/greg/management/commands/import_guests.py @@ -162,8 +162,8 @@ class Command(BaseCommand): orgunit=orgunit, person=person, type=role_type, - comments=role_data["comment"], ) + role.comments = role_data["comment"], role.end_date = self._end_date role.save() logger.info("updating_existing_role", role=role, sponsor=role.sponsor)