fix broken excel files
This commit is contained in:
@@ -58,9 +58,9 @@ class ReportThread(QThread):
|
||||
# # wruitng the table to a file
|
||||
if self.format == "tsv":
|
||||
table = table.get_csv_string()
|
||||
tsv_table = table.replace(",", "\t")
|
||||
tsv_table = table.replace(",", "\t")#.replace("Rückgabe", "Rückgabe")
|
||||
# write the file
|
||||
with open("report.tsv", "w", encoding="utf-8") as f:
|
||||
with open("report.tsv", "w") as f:
|
||||
f.write(tsv_table)
|
||||
else:
|
||||
with open("report.txt", "w", encoding="utf-8") as f:
|
||||
|
||||
Reference in New Issue
Block a user