Skip to content

Commit

Permalink
Refs #10168 - Fix download CSV method.
Browse files Browse the repository at this point in the history
  • Loading branch information
avoinea committed Dec 10, 2012
1 parent 760a944 commit eb675ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Changelog
visualizations
[voineali refs #9572]
* Feature: Support non-ASCII datasets (column headers and body)
[voineali refs #9610]
[voineali refs #9610, #10168]
* Bug fix: Fixed download.(csv, tsv, html) methods for non-ASCII data
[voineali refs #9610]
[voineali refs #9610, #10168]
* Change: Move column label settings from facet annotations directly to JSON
[voineali refs $9610]
* Feature: On saving a chart, copy the generic chart image in the visualization
Expand Down
3 changes: 2 additions & 1 deletion eea/app/visualization/browser/app/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ def csv(self, dialect='excel', attachment=True):
output = self.request.response
else:
output = StringIO()
writter = csv.writer(output, dialect=dialect)

writter = csv.writer(output, dialect=dialect)

row = []
headers = self.headers
Expand Down

0 comments on commit eb675ad

Please sign in to comment.