Skip to content

Commit

Permalink
textInput is not a property but a local value
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Jan 17, 2025
1 parent 8c5c5ca commit 80bcb27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
`)
}

Expand Down

0 comments on commit 80bcb27

Please sign in to comment.