Extra comma

main
Bob Mottram 2021-07-28 10:53:07 +01:00
parent 9711818da9
commit 8cd539fe8f
1 changed files with 1 additions and 1 deletions

View File

@ -963,7 +963,7 @@ def sharesCatalogCSVEndpoint(baseDir: str, httpPrefix: str,
return ''
csvStr = \
'id,type,hasType,startDate,expiryDate,' + \
'quantity,price,Image,description\r\n'
'quantity,price,Image,description,\r\n'
for item in catalogJson['DFC:supplies']:
csvStr += '"' + item['@id'] + '",'
csvStr += '"' + item['@type'] + '",'