From 80bcb27573a7ebcb2261537b83415532690cb7e1 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Fri, 17 Jan 2025 13:46:55 +0100 Subject: [PATCH] textInput is not a property but a local value --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 13141b0..84ae887 100644 --- a/src/main.js +++ b/src/main.js @@ -94,7 +94,7 @@ createApp({ const textInput = prompt('Provide text input here') await this.pyodide.runPython(` import os - os.environ['TEXT_INPUT'] = '${this.textInput}' + os.environ['TEXT_INPUT'] = '${textInput}' `) }