Commit 9a94618d authored by Nicolas Joyard's avatar Nicolas Joyard
Browse files

Fix CSV export exception

parent 484277fe
...@@ -84,6 +84,6 @@ class RepresentativeList(CSVDownloadMixin, GridListMixin, PaginationMixin, ...@@ -84,6 +84,6 @@ class RepresentativeList(CSVDownloadMixin, GridListMixin, PaginationMixin,
return ( return (
obj.full_name, obj.full_name,
u', '.join([e.email for e in obj.email_set.all()]), u', '.join([e.email for e in obj.email_set.all()]),
obj.main_mandate.group.abbreviation, obj.main_mandate.group.abbreviation if obj.main_mandate else None,
obj.country, obj.country,
) )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment