[fix] MicroPython モード時に実行ボタンが有効にならない不具合を修正

This commit is contained in:
ocogeclub 2022-11-17 21:19:17 +09:00
parent 511b16cb50
commit 971df187f1

View File

@ -374,10 +374,10 @@ const ugj_runCode = async () => {
let ocogeFunc = new AsyncFunction(code);
await ocogeFunc().catch(e => { window.alert(e); });
console.log('Code Execution done.');
btnel.disabled = false;
} else if (elutil.lang == 'py') {
if (code) ugj_spawnPyboard(code, 'r');
}
btnel.disabled = false;
}
// Pyboard ocoge