pull/180/head
liuzheng712 2016-03-29 21:22:18 +08:00
parent 263ff1ee08
commit a1187757bc
1 changed files with 1 additions and 1 deletions

View File

@ -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():