Fix uptime formatting
This commit is contained in:
parent
948237f9d3
commit
086f2be721
1 changed files with 2 additions and 2 deletions
|
|
@ -214,11 +214,11 @@ class Bot():
|
|||
uptime = ""
|
||||
|
||||
if delta >= 24*60*60:
|
||||
uptime +="{}d ".format(delta//24*60*60)
|
||||
uptime +="{}d ".format(delta//(24*60*60))
|
||||
delta %= 24*60*60
|
||||
|
||||
if delta >= 60*60:
|
||||
uptime += "{}h ".format(delta//60*60)
|
||||
uptime += "{}h ".format(delta//(60*60))
|
||||
delta %= 60*60
|
||||
|
||||
if delta >= 60:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue