mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-06 11:36:32 +00:00
bugfix
This commit is contained in:
parent
263ff1ee08
commit
a1187757bc
@ -96,7 +96,7 @@ def renderJSON(script_path, time_file_path):
|
|||||||
# data = dt.decode('utf-8', 'ignore')
|
# data = dt.decode('utf-8', 'ignore')
|
||||||
# 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))] = dt
|
ret[str(offset/float(1000))] = dt.decode('utf-8', 'replace')
|
||||||
return dumps(ret)
|
return dumps(ret)
|
||||||
|
|
||||||
def kill_invalid_connection():
|
def kill_invalid_connection():
|
||||||
|
Loading…
Reference in New Issue
Block a user