Rename default template to stats.jinja2

from template.html
This commit is contained in:
Thor77 2016-11-18 21:51:47 +01:00
parent 9a38e0e7cb
commit 273a01bec6
3 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ DEFAULT_CONFIG = {
'output': 'tsstats.html', 'output': 'tsstats.html',
'idmap': '', 'idmap': '',
'onlinedc': True, 'onlinedc': True,
'template': 'template.html', 'template': 'stats.jinja2',
'datetimeformat': '%x %X %Z', 'datetimeformat': '%x %X %Z',
'onlinetimethreshold': -1 'onlinetimethreshold': -1
} }

View File

@ -13,7 +13,7 @@ logger = logging.getLogger('tsstats')
def render_template(clients, output, title='TeamspeakStats', def render_template(clients, output, title='TeamspeakStats',
template='template.html', datetime_fmt='%x %X %Z', template='stats.jinja2', datetime_fmt='%x %X %Z',
onlinetime_threshold=-1): onlinetime_threshold=-1):
''' '''
render template with `clients` render template with `clients`