Skip to content

Commit

Permalink
Fix CSV-export
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Jul 22, 2013
1 parent 0b07cb3 commit 1ffd9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/export/src/csv_exporter.rb
Expand Up @@ -95,7 +95,7 @@ def CsvExporter.defrit(item, opts={})
self.collect_languages(DEFRIT, item)
end
def CsvExporter.dump(keys, item, fh, opts={})
CSV.open(fh.path, "w", {:col_sep => ';'}) { |csv|
CSV.open(fh.path, "a+", {:col_sep => ';'}) { |csv|
csv << collect_data(keys, item, opts).flatten
}
end
Expand Down

0 comments on commit 1ffd9f9

Please sign in to comment.