mirror of https://github.com/pyodide/pyodide.git
LINT
This commit is contained in:
parent
0809f74622
commit
6aa6c94644
|
@ -114,8 +114,10 @@ class SeleniumWrapper:
|
||||||
"""
|
"""
|
||||||
window.done = false;
|
window.done = false;
|
||||||
pyodide.runPythonAsync({!r})
|
pyodide.runPythonAsync({!r})
|
||||||
.then(function(output) {{ window.output = output; window.error = false; }},
|
.then(function(output)
|
||||||
function(output) {{ window.output = output; window.error = true; }})
|
{{ window.output = output; window.error = false; }},
|
||||||
|
function(output)
|
||||||
|
{{ window.output = output; window.error = true; }})
|
||||||
.finally(() => window.done = true);
|
.finally(() => window.done = true);
|
||||||
""".format(code)
|
""".format(code)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue