Fix TypeError in Py3

This commit is contained in:
Marsel 2017-08-17 00:00:47 +03:00 committed by Itai Shirav
parent c4e60ca2a8
commit 88b1cea98c

View File

@ -44,7 +44,7 @@ def parse_tsv(line):
line = line.decode()
if line and line[-1] == '\n':
line = line[:-1]
return [unescape(value) for value in line.split(b'\t')]
return [unescape(value) for value in line.split(str('\t'))]
def parse_array(array_string):