Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
85bffa6a
Commit
85bffa6a
authored
Dec 11, 2012
by
Diana Huang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into diana/instructor-skip-button
parents
44d5a341
785974da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/lib/capa/capa/responsetypes.py
+2
-2
No files found.
common/lib/capa/capa/responsetypes.py
View file @
85bffa6a
...
...
@@ -2061,7 +2061,7 @@ class OpenEndedResponse(LoncapaResponse):
<div class="{feedback_type}">
{value}
</div>
"""
.
format
(
feedback_type
,
value
)
"""
.
format
(
feedback_type
=
feedback_type
,
value
=
value
)
# TODO (vshnayder): design and document the details of this format so
# that we can do proper escaping here (e.g. are the graders allowed to
...
...
@@ -2153,7 +2153,7 @@ class OpenEndedResponse(LoncapaResponse):
#Currently ignore msg and only return feedback (which takes the place of msg)
return
ScoreMessage
(
valid
=
True
,
correct
=
correct
,
score
=
score_result
[
'score'
],
msg
=
feedback
)
points
=
score_result
[
'score'
],
msg
=
feedback
)
#-----------------------------------------------------------------------------
# TEMPORARY: List of all response subclasses
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment