summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/inspector/sample.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/inspector/sample.py b/tests/inspector/sample.py
index db477de9..dda053ab 100644
--- a/tests/inspector/sample.py
+++ b/tests/inspector/sample.py
@@ -135,7 +135,7 @@ class InspectorApp(Thread):
self.log.info('event posted in sample inspector at %s' % time.time())
self.log.info('sample inspector = %s' % self.inspector)
self.log.info('sample inspector received data = %s' % request.data)
- events = json.loads(request.data)
+ events = json.loads(request.data.decode('utf8'))
self.inspector.handle_events(events)
return "OK"