diff --git a/boards/default_src/python/python_generator.js b/boards/default_src/python/python_generator.js index da904b9b..a19bbea1 100644 --- a/boards/default_src/python/python_generator.js +++ b/boards/default_src/python/python_generator.js @@ -219,8 +219,8 @@ Python.scrubNakedValue = function (line) { */ Python.quote_ = function (string) { // Can't use goog.string.quote since % must also be escaped. - string = string.replace(/\\/g, '\\\\') - .replace(/\n/g, '\\\n'); + // string = string.replace(/\\/g, '\\\\') + // .replace(/\n/g, '\\\n'); // Follow the CPython behaviour of repr() for a non-byte string. var quote = '\'';