Commit cabef5a0 authored by Romain Casati's avatar Romain Casati
Browse files

Package hacked and marked as imported even in case of failure.

parent 8173bb9a
......@@ -140,8 +140,9 @@ def load_and_hack(packages):
_loaded.update(packages)
_hack_modules.hack(packages)
return js.Promise.all((_load_pyodide(pyodide_packages),
_load_internal(internal_packages))).then(callback)
return getattr(js.Promise.all((_load_pyodide(pyodide_packages),
_load_internal(internal_packages))),
'finally')(callback)
def find_imports(code):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment