diff options
author | Tomek Wójcik <t.wojcik@clearcode.cc> | 2013-02-25 19:38:49 +0400 |
---|---|---|
committer | Tomek Wójcik <t.wojcik@clearcode.cc> | 2013-02-25 19:38:49 +0400 |
commit | 8d642de42efd40898441fd2223d1af0d8c457357 (patch) | |
tree | ba1d77360e3bc12e68ef8fdc1e6ffe9a3bae1f6b /misc | |
parent | 7040c18c25af02789a85b632798bc0517ed46685 (diff) |
Fixed if condition.
Diffstat (limited to 'misc')
-rwxr-xr-x | misc/log-analytics/import_logs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/log-analytics/import_logs.py b/misc/log-analytics/import_logs.py index bafb96501f..b6fd91b504 100755 --- a/misc/log-analytics/import_logs.py +++ b/misc/log-analytics/import_logs.py @@ -1430,7 +1430,7 @@ class Parser(object): hit.date -= datetime.timedelta(hours=timezone/100) if config.options.replay_tracking: # we need a query string and we only consider requests with piwik.php - if not hit.query_string and not hit.path.lower().endswith('piwik.php'): + if not hit.query_string or not hit.path.lower().endswith('piwik.php'): continue else: query_arguments = urlparse.parse_qs(hit.query_string) |