diff options
-rwxr-xr-x | lib/protocol_benchmarks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/protocol_benchmarks.py b/lib/protocol_benchmarks.py index 57fcb38..a1a2350 100755 --- a/lib/protocol_benchmarks.py +++ b/lib/protocol_benchmarks.py @@ -481,7 +481,7 @@ class ManualJSON(DummyProtocol): self.buf += 'bout << "}"' else: - self.buf += 'bout << "{}"'.format(value) + self.buf += 'bout << {}'.format(value) if is_last: self.buf += ';\n'; @@ -507,7 +507,7 @@ class ManualJSON(DummyProtocol): self.buf += 'bout << "}"' else: - self.buf += 'bout << "\\"{}\\":{}"'.format(key, value) + self.buf += 'bout << "\\"{}\\":" << {}'.format(key, value) if is_last: self.buf += ';\n' |