summaryrefslogtreecommitdiff
path: root/js/codeq/python.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/codeq/python.js')
-rw-r--r--js/codeq/python.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/js/codeq/python.js b/js/codeq/python.js
index 49b6ccf..214b249 100644
--- a/js/codeq/python.js
+++ b/js/codeq/python.js
@@ -309,12 +309,15 @@
});
// TODO first line of interpreter output is buffered without this, why?
- codeq.comms.sendPythonPush({
- 'text': ''
- });
+// codeq.comms.sendPythonPush({
+// 'text': ''
+// });
+
+ codeq.comms.loadProblem(problemDef.id).done();
return {
destroy: function () {
+ codeq.comms.endProblem().done();
$('#screen_python .title').text('');//empty the title text
jqAllButtons.off();
editor.off('change');