From 8ac3fa8c5b962e4c87ccfd8bc79630001f5c6376 Mon Sep 17 00:00:00 2001
From: Thor77 <xXThor77Xx@gmail.com>
Date: Mon, 13 Jul 2015 21:10:00 +0200
Subject: [PATCH] use debugfile config-param

---
 tsstats.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tsstats.py b/tsstats.py
index e0eccd4..d3588f1 100755
--- a/tsstats.py
+++ b/tsstats.py
@@ -239,7 +239,7 @@ def main():
 
     log_path, output_path, debug, debug_file = parse_config(config_path)
 
-    render_template(parse_logs(log_path, ident_map=id_map), output=output_path, debug=debug)
+    render_template(parse_logs(log_path, ident_map=id_map, file_log=debug_file), output=output_path, debug=debug)
 
 if __name__ == '__main__':
     main()