mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
export to excel: apply excel_safe to every value when exporting (#2064)
This commit is contained in:
committed by
GitHub
parent
9ab61f3e27
commit
324919881f
@@ -234,8 +234,7 @@ class ListExporter(BaseExporter):
|
|||||||
total = line.total
|
total = line.total
|
||||||
continue
|
continue
|
||||||
ws.append([
|
ws.append([
|
||||||
excel_safe(val) if not isinstance(val, KNOWN_TYPES) else val
|
excel_safe(val) for val in line
|
||||||
for val in line
|
|
||||||
])
|
])
|
||||||
if total:
|
if total:
|
||||||
counter += 1
|
counter += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user