Markov: assuming file uploads are utf8

This commit is contained in:
Brian S. Stephan 2014-04-05 16:18:48 -05:00
parent f1ff281da2
commit 97070d495f
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.split('\t')
(timestamp, who, what) = line.decode('utf-8').split('\t')
if who in ('-->', '<--', '--', ' *'):
continue