Skip to content
This repository was archived by the owner on Dec 25, 2022. It is now read-only.

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
Krypton Byte committed Apr 22, 2021
1 parent d672548 commit 5c3311b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ def get_qr(sid):

@sio.on("server_", namespace="/about")
def About(sid):
boot=time.time()-psutil.boot_time()
boot=time.time()-starttime
me = driver.wapi_functions.getMe() if driver.is_logged_in() else {}
sio.emit("percent", data={
"boot_time":{"day":int(math.floor(boot/3600)/24),"hours":math.floor(boot/3600)%24, "minute":int(math.floor(boot/60)%60), "second":math.floor(boot%60)},
Expand Down

0 comments on commit 5c3311b

Please sign in to comment.