summaryrefslogtreecommitdiff
path: root/lib/protocol_benchmarks.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/protocol_benchmarks.py')
-rwxr-xr-xlib/protocol_benchmarks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/protocol_benchmarks.py b/lib/protocol_benchmarks.py
index b8d68cc..57fcb38 100755
--- a/lib/protocol_benchmarks.py
+++ b/lib/protocol_benchmarks.py
@@ -468,7 +468,7 @@ class ManualJSON(DummyProtocol):
if len(value) and value[0] == '$':
self.buf += 'bout << dec << {}'.format(value[1:])
else:
- self.buf += 'bout << "\"{}\""'.format(value)
+ self.buf += 'bout << "\\"{}\\""'.format(value)
elif type(value) == list:
self.buf += 'bout << "[";\n'