fix an issue in a bom script (extra empty lines created)

Fixes #10473
https://gitlab.com/kicad/code/kicad/issues/10473
This commit is contained in:
jean-pierre charras 2022-01-18 13:48:11 +01:00
parent 25fca2abb7
commit 380cb452b2
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ except IOError:
f = sys.stdout
# Create a new csv writer object to use as the output formatter
out = csv.writer(f, delimiter=',', quotechar='\"', quoting=csv.QUOTE_ALL)
out = csv.writer(f, lineterminator='\n', delimiter=',', quotechar='\"', quoting=csv.QUOTE_ALL)
# Output a set of rows for a header providing general information
out.writerow(['Source:', net.getSource()])