Commit e07305ef authored by liuzheng712's avatar liuzheng712

bugfix

parent 1c61ed6a
...@@ -94,7 +94,7 @@ def renderJSON(script_path, time_file_path): ...@@ -94,7 +94,7 @@ def renderJSON(script_path, time_file_path):
# print ('###### (%s, %s)' % (t[1], repr(data))) # print ('###### (%s, %s)' % (t[1], repr(data)))
offset += t[0] offset += t[0]
ret[str(offset/float(1000))] = data ret[str(offset/float(1000))] = data
return json return dumps(ret)
def kill_invalid_connection(): def kill_invalid_connection():
unfinished_logs = Log.objects.filter(is_finished=False) unfinished_logs = Log.objects.filter(is_finished=False)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment