[15.0][FIX] excel_import_export, excel_import_export_demo:
fix from PR #2283 together with @luc-demeyer suggestion #2283 (review)pull/2329/head
parent
f94ba4fc5c
commit
5a7ce8573e
|
@ -334,7 +334,7 @@ def _add_id_column(file_txt):
|
|||
if line and i == 0:
|
||||
line = '"id",' + line
|
||||
elif line:
|
||||
line = "{}.{}".format("xls", uuid.uuid4()) + "," + line
|
||||
line = f"__excel_import_export__.{uuid.uuid4()},{line}"
|
||||
txt_lines.append(line)
|
||||
i += 1
|
||||
file_txt = "\n".join(txt_lines)
|
||||
|
|
Loading…
Reference in New Issue