Markov: only split two \ts on file import
This commit is contained in:
parent
97070d495f
commit
54efe617d0
|
@ -55,7 +55,7 @@ def import_file(request):
|
||||||
|
|
||||||
whos = []
|
whos = []
|
||||||
for line in log_file:
|
for line in log_file:
|
||||||
(timestamp, who, what) = line.decode('utf-8').split('\t')
|
(timestamp, who, what) = line.decode('utf-8').split('\t', 2)
|
||||||
|
|
||||||
if who in ('-->', '<--', '--', ' *'):
|
if who in ('-->', '<--', '--', ' *'):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue