Markov: only split two \ts on file import

This commit is contained in:
Brian S. Stephan 2014-04-05 16:39:44 -05:00
parent 97070d495f
commit 54efe617d0
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def import_file(request):
whos = []
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 ('-->', '<--', '--', ' *'):
continue