Skip to content

Commit

Permalink
Clean: Whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
bjones1 committed Jun 22, 2018
1 parent 16ba23b commit dae0fab
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions controllers/ajax.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

response.headers['Access-Control-Allow-Origin'] = '*'

EVENT_TABLE = {'mChoice':'mchoice_answers',
'fillb':'fitb_answers',
'dragNdrop':'dragndrop_answers',
'clickableArea':'clickablearea_answers',
EVENT_TABLE = {'mChoice':'mchoice_answers',
'fillb':'fitb_answers',
'dragNdrop':'dragndrop_answers',
'clickableArea':'clickablearea_answers',
'parsons':'parsons_answers',
'codelens1':'codelens_answers',
'shortanswer':'shortanswer_answers',
Expand Down Expand Up @@ -498,7 +498,7 @@ def _getStudentResults(question):
tbl_name = EVENT_TABLE[qst.question_type]
tbl = db[tbl_name]

res = db( (tbl.div_id == question) &
res = db( (tbl.div_id == question) &
(tbl.course_name == cc.course_name) &
(tbl.timestamp >= cc.term_start_date)).select(tbl.sid, tbl.answer, orderby=tbl.sid)

Expand Down Expand Up @@ -836,5 +836,3 @@ def get_datafile():
file_contents = None

return json.dumps(dict(data=file_contents))


0 comments on commit dae0fab

Please sign in to comment.