Skip to content

Commit

Permalink
Merge branch 'main' into translate_kw_teacher_manual
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Aug 5, 2024
2 parents 420ce1f + e6d3cee commit 0fa675e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions static/js/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -992,8 +992,8 @@ export function runPythonProgram(this: any, code: string, sourceMap: any, hasTur
// So: a very large limit in these levels, keep the limit on other ones.
execLimit: (function () {
const level = theLevel;
if (hasTurtle || hasMusic) {
// We don't want a timeout when using the turtle or music -> just set one for 10 minutes
if (hasTurtle || hasPressed || hasMusic) {
// We don't want a timeout when using the turtle, if_pressed or music -> just set one for 10 minutes
return (6000000);
}
if (level < 7) {
Expand Down
2 changes: 1 addition & 1 deletion static/js/appbundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -120474,7 +120474,7 @@ def note_with_error(value, err):
},
execLimit: function() {
const level3 = theLevel;
if (hasTurtle || hasMusic) {
if (hasTurtle || hasPressed || hasMusic) {
return 6e6;
}
if (level3 < 7) {
Expand Down
4 changes: 2 additions & 2 deletions static/js/appbundle.js.map

Large diffs are not rendered by default.

0 comments on commit 0fa675e

Please sign in to comment.