Skip to content
This repository was archived by the owner on Dec 6, 2023. It is now read-only.

Commit 6c565b7

Browse files
author
mpgn
authored
Merge pull request #670 from shoxxdj/master
bugfix : cant export csv
2 parents e4f6343 + 0990b4f commit 6c565b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cme/cmedb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def write_csv(self,filename,headers,entries):
213213
Writes a CSV file with the provided parameters.
214214
"""
215215
with open(os.path.expanduser(filename), 'w') as export_file:
216-
csvFile = csv.writer(export_file,delimiter=";", quoting=csv.QUOTE_ALL, lineterminator='\n')
216+
csvFile = csv.writer(export_file,delimiter=";", quoting=csv.QUOTE_ALL, lineterminator='\n',escapechar="\\")
217217
csvFile.writerow(headers)
218218
for entry in entries:
219219
csvFile.writerow(entry)

0 commit comments

Comments
 (0)