From b9b49e0c177f00c10d6493809aa54a41f619b48d Mon Sep 17 00:00:00 2001 From: Yaya-Cout Date: Sun, 14 Dec 2025 12:59:08 +0100 Subject: [PATCH] [simulator/web] Fix window definition check --- python/port/port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/port/port.cpp b/python/port/port.cpp index dbe70715d..99d753c2d 100644 --- a/python/port/port.cpp +++ b/python/port/port.cpp @@ -68,7 +68,7 @@ void python_execution_end() { // window isn't defined on Node (CI) EM_ASM({ - if (typeof variable !== 'undefined') { + if (typeof window !== 'undefined') { window.postMessage({ type: 'epsilon_micropython_executionEnvironment_runCode_finished', value: Module.___temp_storage_dump,