Commit 0eaf17b9 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Investigates tag[i] error

Showing with 1 addition and 1 deletion
+1 -1
......@@ -76,7 +76,7 @@ def parse_log(log):
msg.append(":".join(line.split(" | ")[2].split(":")[1:]))
tag.append(line.split(" | ")[2].split(":")[0])
print(i, line)
if tag[i] == 'INFO':
if tag[-1] == 'INFO':
if 'NEW SESSION' in msg[i]:
s += 1
session.append(s)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment