From 0081ac9939c268e42e5a09d417e22e51cc4c2002 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Fri, 24 Mar 2017 23:18:26 +0100 Subject: [PATCH] Log parse time of individual logs --- tsstats/log.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tsstats/log.py b/tsstats/log.py index 54745f1..5ddb462 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -7,9 +7,10 @@ from collections import namedtuple from datetime import datetime from glob import glob from os.path import basename +from time import time -from tsstats.utils import tz_aware_datime 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