Revert "fix(client): add an empty array to allow iterating over an array containing newline (#222)" (#225)
This reverts commit 77980b298a
.
This commit is contained in:
parent
77980b298a
commit
10d9135ecb
@ -187,7 +187,7 @@ class Translator:
|
||||
data, response = self._translate(text, dest, src, kwargs)
|
||||
|
||||
# this code will be updated when the format is changed.
|
||||
translated = ''.join([d[0] if d[0] else '' for d in data[0] or []])
|
||||
translated = ''.join([d[0] if d[0] else '' for d in data[0]])
|
||||
|
||||
extra_data = self._parse_extra_data(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user