striping data on csv
This commit is contained in:
parent
bb702cb817
commit
bf389d7045
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ class CsvPage(Page):
|
||||||
for i, row in enumerate(reader):
|
for i, row in enumerate(reader):
|
||||||
if self.HEADER and i+1 < self.HEADER:
|
if self.HEADER and i+1 < self.HEADER:
|
||||||
continue
|
continue
|
||||||
row = self.decode_row(row, encoding)
|
row = map(unicode.strip, self.decode_row(row, encoding))
|
||||||
if header is None and self.HEADER:
|
if header is None and self.HEADER:
|
||||||
header = row
|
header = row
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue