From 59e234b9bf5cc1785ea0966d6c95a7abb7006a7f Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Sun, 14 Dec 2014 15:48:57 +0100 Subject: [PATCH 1/2] Update TODO --- TODO | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 9e7b605..7f71f61 100644 --- a/TODO +++ b/TODO @@ -6,4 +6,5 @@ Limit hits/pages/downloads by rate Automatic tests quiet mode Add Licence -Free memory as soon as possible \ No newline at end of file +Free memory as soon as possible +gzip output files \ No newline at end of file From caeab70ca627c5b2a9da06c238be1c10d94cd05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Mon, 15 Dec 2014 08:21:46 +0100 Subject: [PATCH 2/2] Forgot to remove robots from visitors in days statistics --- iwla.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iwla.py b/iwla.py index 42f5f2c..5a20786 100755 --- a/iwla.py +++ b/iwla.py @@ -533,7 +533,8 @@ class IWLA(object): else: stats['viewed_hits'] += 1 if (conf.count_hit_only_visitors or\ - viewed_pages): + viewed_pages) and\ + not super_hit['robot']: stats['nb_visitors'] += 1 print "== Stats for %d/%02d/%d ==" % (cur_time.tm_year, cur_time.tm_mon, cur_time.tm_mday)