From a1187757bc13e737875a63982e6699c1091a7f6f Mon Sep 17 00:00:00 2001 From: liuzheng712 Date: Tue, 29 Mar 2016 21:22:18 +0800 Subject: [PATCH] bugfix --- jlog/log_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlog/log_api.py b/jlog/log_api.py index 356c9d97c..3dccc0a45 100644 --- a/jlog/log_api.py +++ b/jlog/log_api.py @@ -96,7 +96,7 @@ def renderJSON(script_path, time_file_path): # data = dt.decode('utf-8', 'ignore') # print ('###### (%s, %s)' % (t[1], repr(data))) offset += t[0] - ret[str(offset/float(1000))] = dt + ret[str(offset/float(1000))] = dt.decode('utf-8', 'replace') return dumps(ret) def kill_invalid_connection():