Fix py-repl auto-generate=true (#910)

What is not tested is broken man_facepalming
Test&fix <py-repl auto-generate=true> which was broken by PR #884
This commit is contained in:
Antonio Cuni
2022-10-31 12:55:20 +01:00
committed by GitHub
parent 4c635fe84c
commit f67b8e0285
4 changed files with 58 additions and 0 deletions

View File

@@ -173,6 +173,8 @@ export function make_PyRepl(runtime: Runtime) {
if (pyResult !== undefined) {
pyDisplay(runtime, pyResult, { target: outEl.id });
}
this.autogenerateMaybe();
}
getPySrc(): string {