Rename default template to stats.jinja2
from template.html
This commit is contained in:
parent
9a38e0e7cb
commit
273a01bec6
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue