commit
6c565b7a1b
|
@ -213,7 +213,7 @@ class DatabaseNavigator(cmd.Cmd):
|
||||||
Writes a CSV file with the provided parameters.
|
Writes a CSV file with the provided parameters.
|
||||||
"""
|
"""
|
||||||
with open(os.path.expanduser(filename), 'w') as export_file:
|
with open(os.path.expanduser(filename), 'w') as export_file:
|
||||||
csvFile = csv.writer(export_file,delimiter=";", quoting=csv.QUOTE_ALL, lineterminator='\n')
|
csvFile = csv.writer(export_file,delimiter=";", quoting=csv.QUOTE_ALL, lineterminator='\n',escapechar="\\")
|
||||||
csvFile.writerow(headers)
|
csvFile.writerow(headers)
|
||||||
for entry in entries:
|
for entry in entries:
|
||||||
csvFile.writerow(entry)
|
csvFile.writerow(entry)
|
||||||
|
|
Loading…
Reference in New Issue