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

Fixes #10473
https://gitlab.com/kicad/code/kicad/issues/10473

(cherry picked from commit 380cb452b2)
This commit is contained in:
jean-pierre charras 2022-01-18 13:48:11 +01:00 committed by Seth Hillbrand
parent d52f246b2a
commit e5fa18c9b1
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,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()])