Commit 6a339966 authored by Romain Casati's avatar Romain Casati
Browse files

Fix promise chaining.

parent 3112e216
......@@ -86,7 +86,8 @@ def _load_internal(packages):
return js.Promise.resolve()
def micropip_wrapper(*args):
micropip_install([_internal_pkgs[p]['path'] for p in packages])
return micropip_install([_internal_pkgs[p]['path']
for p in packages])
return _load_pyodide('micropip').then(micropip_wrapper)
......
Supports Markdown
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