File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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 ' )
4444def 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 ' )
6969def submit_matrix_problem ():
7070 user_code = request .query .submitted_code
7171 prob_name = request .query .problem_name
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments