forked from CGM_Public/pretix_original
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
|
||||
continue
|
||||
ws.append([
|
||||
excel_safe(val) if not isinstance(val, KNOWN_TYPES) else val
|
||||
for val in line
|
||||
excel_safe(val) for val in line
|
||||
])
|
||||
if total:
|
||||
counter += 1
|
||||
|
||||
Reference in New Issue
Block a user