--- a/web/views/csvexport.py Tue Sep 22 14:18:14 2015 +0200
+++ b/web/views/csvexport.py Wed Sep 16 17:07:26 2015 +0200
@@ -20,6 +20,7 @@
__docformat__ = "restructuredtext en"
from cubicweb import _
+from six import PY2
from six.moves import range
from cubicweb.schema import display_name
@@ -31,7 +32,7 @@
"""mixin class for CSV views"""
templatable = False
content_type = "text/comma-separated-values"
- binary = True # avoid unicode assertion
+ binary = PY2 # python csv module is unicode aware in py3k
csv_params = {'dialect': 'excel',
'quotechar': '"',
'delimiter': ';',