Changes fallback for CSVItemExporter, avoiding to call to_native_str(str()).

This commit is contained in:
stummjr 2016-01-27 16:28:01 -02:00
parent c55ff110a3
commit 27758f60ad
1 changed files with 1 additions and 1 deletions

View File

@ -200,7 +200,7 @@ class CsvItemExporter(BaseItemExporter):
try:
yield to_native_str(s)
except TypeError:
yield to_native_str(str(s))
yield s
def _write_headers_and_set_fields_to_export(self, item):
if self.include_headers_line: