Merge pull request #403 from eReuse/bugfix/4073-obada

change delimiter
This commit is contained in:
cayop 2022-11-11 18:58:36 +01:00 committed by GitHub
commit 3809ae76e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 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'])

View file

@ -1,2 +1,2 @@
"Manufacturer";"Model";"Serial Number" Manufacturer,Model,Serial Number
"asustek computer inc.";"1001pxd";"b8oaas048285" asustek computer inc.,1001pxd,b8oaas048285

1 Manufacturer Model Serial Number
2 asustek computer inc. 1001pxd b8oaas048285