fix minor bug
This commit is contained in:
parent
e8902e50e9
commit
de24de6913
4
test.py
4
test.py
@ -26,9 +26,9 @@ class MainHandler(tornado.web.RequestHandler):
|
||||
buf += op.get_log()
|
||||
buf += f"\nSpeed: {op.get_latest_speed()}\n"
|
||||
buf += "\nio_stat\n"
|
||||
buf += "\n".join(op.get_io_stat().splitlines()[-5])
|
||||
buf += "\n".join(op.get_io_stat().splitlines()[-5:])
|
||||
buf += "\nping_stat\n"
|
||||
buf += "\n".join(op.get_ping_stat().splitlines()[-5])
|
||||
buf += "\n".join(op.get_ping_stat().splitlines()[-5:])
|
||||
buf += "\n</pre>\n"
|
||||
self.write(buf)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user