summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-10-06 14:19:36 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-10-06 14:19:36 +0200
commit695691c269884273395df02f8d18a332fd72ee80 (patch)
treec91150d2e9efd92f5963419f0b0b9a2f6984f9a3
parenta38f6ef2095cd689b0eb652dcef6beb04971c33c (diff)
Send problem ID with PythonExec requests
-rw-r--r--js/codeq/python.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/codeq/python.js b/js/codeq/python.js
index d5138b4..3d47223 100644
--- a/js/codeq/python.js
+++ b/js/codeq/python.js
@@ -188,7 +188,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
codeq.comms.sendPythonStop({})
.then(function () {
codeq.comms.sendPythonExec({
- 'program': program
+ 'program': program,
+ 'problem_id': problemDef.id
});
})
.fail(alert)