diff --git a/tsstats/config.py b/tsstats/config.py index e69c366..ec5017e 100644 --- a/tsstats/config.py +++ b/tsstats/config.py @@ -17,7 +17,7 @@ DEFAULT_CONFIG = { 'output': 'tsstats.html', 'idmap': '', 'onlinedc': True, - 'template': 'template.html', + 'template': 'stats.jinja2', 'datetimeformat': '%x %X %Z', 'onlinetimethreshold': -1 } diff --git a/tsstats/template.py b/tsstats/template.py index c1e1866..965da63 100644 --- a/tsstats/template.py +++ b/tsstats/template.py @@ -13,7 +13,7 @@ logger = logging.getLogger('tsstats') 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): ''' render template with `clients` diff --git a/tsstats/templates/template.html b/tsstats/templates/stats.jinja2 similarity index 100% rename from tsstats/templates/template.html rename to tsstats/templates/stats.jinja2