Skip to content

Commit

Permalink
Add link to new docs to UserError
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffersGlass committed Nov 10, 2022
1 parent 461b66a commit bb52a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscriptjs/src/pyexec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function pyExec(runtime: Runtime, pysrc: string, outElem: HTMLElement) {
'"async with" is deprecated.' +
'\nPlease write a coroutine containing ' +
'your code and schedule it using asyncio.ensure_future() or similar.' +
'\nSee https://docs.pyscript.net/ for more information.'
'\nSee https://docs.pyscript.net/latest/guides/asyncio.html for more information.'
)
}
return runtime.run(pysrc);
Expand Down

0 comments on commit bb52a98

Please sign in to comment.