Markov: assuming file uploads are utf8
This commit is contained in:
parent
f1ff281da2
commit
97070d495f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user