diff --git a/sumorobot.js b/sumorobot.js index b849d95..46a6446 100755 --- a/sumorobot.js +++ b/sumorobot.js @@ -409,7 +409,7 @@ window.onload = function() { $(".btn-start").click(function() { sumostart = true; if (pythonEnabled) { - sumorobot.send("start:" + $("#blocklyCode").val().replace(/sumorobot./g, "")); + sumorobot.send("start:" + $("#blocklyCode").val().replace(/sumorobot./g, "").replace(/\)/g, ", \"\")")); } else { sumorobot.send("start:" + sumocode.replace(/sumorobot./g, "")); }