change delimiter

This commit is contained in:
Cayo Puigdefabregas 2022-11-11 18:26:15 +01:00
parent 6addddd974
commit b99be1a144
1 changed files with 3 additions and 3 deletions

View File

@ -878,10 +878,10 @@ class ExportsView(View):
data = StringIO() data = StringIO()
cw = csv.writer( cw = csv.writer(
data, data,
delimiter=';', delimiter=',',
lineterminator="\n", lineterminator="\n",
quotechar='"', quotechar='',
quoting=csv.QUOTE_ALL, quoting=csv.QUOTE_NONE,
) )
cw.writerow(['Manufacturer', 'Model', 'Serial Number']) cw.writerow(['Manufacturer', 'Model', 'Serial Number'])