convert onlinetime to int before converting to text
* => don't display milliseconds in text
This commit is contained in:
parent
e3df7f8185
commit
12a86539d2
|
@ -29,7 +29,7 @@ def render_template(clients, output, title='TeamspeakStats'):
|
|||
clients, lambda c: c.onlinetime.total_seconds()
|
||||
)
|
||||
clients_onlinetime = [
|
||||
(client, seconds_to_text(onlinetime))
|
||||
(client, seconds_to_text(int(onlinetime)))
|
||||
for client, onlinetime in clients_onlinetime_
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue