Skip to content

Commit cff5bbf

Browse files
pgbovinemmmicedcoffee
authored andcommitted
bah
1 parent 63ff139 commit cff5bbf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

v3/bottle_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def json_finalizer(input_code, output_trace):
4040
return out_s.getvalue()
4141

4242

43-
@get('/load_matrix_problem')
43+
@get('/load_matrix_problem.py')
4444
def load_matrix_problem():
4545
prob_name = request.query.problem_name
4646
assert type(prob_name) in (str, unicode)
@@ -65,7 +65,7 @@ def load_matrix_problem():
6565
return json.dumps(dict(code=cod, test=testCod))
6666

6767

68-
@get('/submit_matrix_problem')
68+
@get('/submit_matrix_problem.py')
6969
def submit_matrix_problem():
7070
user_code = request.query.submitted_code
7171
prob_name = request.query.problem_name

v3/js/matrixtutor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ $(document).ready(function() {
262262
}
263263
});
264264

265-
$.get('load_matrix_problem',
265+
$.get('load_matrix_problem.py',
266266
{problem_name: 'python_comprehension-1'},
267267
function(dataFromBackend) {
268268
pyInputCodeMirror.setValue(dataFromBackend.code.rtrim());
@@ -275,7 +275,7 @@ $(document).ready(function() {
275275
$('#submitGradeBtn').html('Now Grading ...');
276276
$('#submitGradeBtn').attr('disabled', true);
277277

278-
$.get('submit_matrix_problem',
278+
$.get('submit_matrix_problem.py',
279279
{submitted_code: pyInputCodeMirror.getValue(),
280280
problem_name: 'python_comprehension-1'},
281281
function(dataFromBackend) {

0 commit comments

Comments
 (0)