wider watch for failed translation
This commit is contained in:
parent
4babce5357
commit
6931aa2ce1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Module(ModuleManager.BaseModule):
|
|||
"client": "gtx", "sl": source_language,
|
||||
"tl": target_language, "dt": "t", "q": phrase})
|
||||
|
||||
if page and not page.data == "[null,null,\"\"]":
|
||||
if page and not page.data.startswith("[null,null,"):
|
||||
data = page.data
|
||||
while ",," in data:
|
||||
data = data.replace(",,", ",null,")
|
||||
|
|
Loading…
Reference in a new issue