Forgot async keyword in #1363 (#1412)

This commit is contained in:
Hood Chatham 2021-04-01 13:53:43 -04:00 committed by GitHub
parent 884d09ae1b
commit 77145d4a0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
</head> </head>
<body> <body>
<script> <script>
function main() { async function main() {
await initializePyodide({ indexURL : '{{ PYODIDE_BASE_URL }}' }); await initializePyodide({ indexURL : '{{ PYODIDE_BASE_URL }}' });
let namespace = pyodide.globals.get("dict")(); let namespace = pyodide.globals.get("dict")();
pyodide.runPython(` pyodide.runPython(`