mirror of https://gitlab.com/bashrc2/epicyon
Convert quotes for csv
parent
fbb9205e6e
commit
9130e5ce61
|
@ -973,7 +973,8 @@ def sharesCatalogCSVEndpoint(baseDir: str, httpPrefix: str,
|
|||
csvStr += str(item['DFC:quantity']) + ','
|
||||
csvStr += item['DFC:price'] + ','
|
||||
csvStr += '"' + item['DFC:Image'] + '",'
|
||||
csvStr += '"' + item['DFC:description'] + '"\n'
|
||||
description = item['DFC:description'].replace('"', "'")
|
||||
csvStr += '"' + description + '"\n'
|
||||
return csvStr
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue