Merge pull request #1 from Romamo/Romamo-patch-1

Update utils.py
This commit is contained in:
romamo 2022-11-30 20:07:30 +02:00 committed by GitHub
commit 586138e0dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,8 +81,9 @@ def parse_tsv(line):
line = line.decode()
if line and line[-1] == '\n':
line = line[:-1]
return [unescape(value) for value in line.split(str('\t'))]
# Repetitive unescape using undocumented function
# return [unescape(value) for value in line.split(str('\t'))]
return line.split(str('\t'))
def parse_array(array_string):
"""