diff --git a/src/targets/python/helpers.js b/src/targets/python/helpers.js index 46f72d8..a3c5ee7 100644 --- a/src/targets/python/helpers.js +++ b/src/targets/python/helpers.js @@ -77,7 +77,7 @@ module.exports = { if (value === null || value === undefined) { return '' } - return '"' + value.toString().replace(/"/g, '\\"') + '"' + return JSON.stringify(value) } } }