mirror of https://gitlab.com/bashrc2/epicyon
Extra comma
parent
9711818da9
commit
8cd539fe8f
|
@ -963,7 +963,7 @@ def sharesCatalogCSVEndpoint(baseDir: str, httpPrefix: str,
|
||||||
return ''
|
return ''
|
||||||
csvStr = \
|
csvStr = \
|
||||||
'id,type,hasType,startDate,expiryDate,' + \
|
'id,type,hasType,startDate,expiryDate,' + \
|
||||||
'quantity,price,Image,description\r\n'
|
'quantity,price,Image,description,\r\n'
|
||||||
for item in catalogJson['DFC:supplies']:
|
for item in catalogJson['DFC:supplies']:
|
||||||
csvStr += '"' + item['@id'] + '",'
|
csvStr += '"' + item['@id'] + '",'
|
||||||
csvStr += '"' + item['@type'] + '",'
|
csvStr += '"' + item['@type'] + '",'
|
||||||
|
|
Loading…
Reference in New Issue