diff --git a/requirements.txt b/requirements.txt index f10e84e..a673ff4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ Jinja2>=2.8 +pendulum diff --git a/tsstats/log.py b/tsstats/log.py index 1a4ff80..ca28156 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -4,13 +4,13 @@ import logging import re from codecs import open from collections import namedtuple -from datetime import datetime from glob import glob from os.path import basename from time import time +import pendulum + from tsstats.client import Client, Clients -from tsstats.utils import tz_aware_datime re_log_filename = re.compile(r'ts3server_(?P\d{4}-\d\d-\d\d)' '__(?P