Fix CSV export of view to only put single CR character. (#1186)
Fixes #12158
This commit is contained in:
parent
9e43f060d1
commit
5ad5f08a2b
@ -49,7 +49,7 @@ class CSVTab(TabbedDoc):
|
|||||||
else:
|
else:
|
||||||
self.filename = filename
|
self.filename = filename
|
||||||
|
|
||||||
self.f = open(self.filename, "w",
|
self.f = open(self.filename, "w", newline='',
|
||||||
encoding='utf_8_sig' if win() else 'utf_8')
|
encoding='utf_8_sig' if win() else 'utf_8')
|
||||||
self.writer = csv.writer(self.f)
|
self.writer = csv.writer(self.f)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user