convert onlinetime to int before converting to text

* => don't display milliseconds in text
This commit is contained in:
Thor77 2016-06-12 18:11:27 +02:00
parent e3df7f8185
commit 12a86539d2
1 changed files with 1 additions and 1 deletions

View File

@ -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_
]