diff --git a/tsstats/template.py b/tsstats/template.py index 6363cf7..162281b 100644 --- a/tsstats/template.py +++ b/tsstats/template.py @@ -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_ ]