From def9f2e1e2ccf07db961135881dd48e221a95998 Mon Sep 17 00:00:00 2001 From: Thor77 Date: Tue, 21 Jun 2016 22:16:39 +0200 Subject: [PATCH] fix logpath not given to _bundle_logs in tsstats.log.parse_logs --- tsstats/log.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsstats/log.py b/tsstats/log.py index b76cb3f..d86a057 100644 --- a/tsstats/log.py +++ b/tsstats/log.py @@ -45,7 +45,7 @@ def parse_logs(log_glob, ident_map=None, *args, **kwargs): _bundle_logs(log_file for log_file in glob(log_glob)).items(): clients = Clients(ident_map) for log in logs: - _parse_details(clients=clients, *args, **kwargs) + _parse_details(log.path, clients=clients, *args, **kwargs) if len(clients) >= 1: vserver_clients[virtualserver_id] = clients return vserver_clients