Skip to content

Commit

Permalink
fix: Seperator issue
Browse files Browse the repository at this point in the history
  • Loading branch information
zekiahmetbayar committed Dec 4, 2023
1 parent 97eb75a commit 18e5a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def CreatePDFReport(body: ReportCreateRequest):
def CreatePDFReport(body: ReportCreateRequest):
filename = time.time()
with open("./reports/%d.csv" % filename, 'w', encoding='UTF8', newline='') as f:
writer = csv.writer(f)
writer = csv.writer(f, delimiter=body.Seperator)
row = ["sep=" + body.Seperator]

writer.writerow(row)
Expand Down

0 comments on commit 18e5a64

Please sign in to comment.