Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
5b5eb7ee
Commit
5b5eb7ee
authored
Aug 31, 2017
by
rabia23
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EDUCATOR-1263 Fix Learner Training Assessment assess
parent
c767f366
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
openassessment/xblock/data_conversion.py
+6
-0
No files found.
openassessment/xblock/data_conversion.py
View file @
5b5eb7ee
...
@@ -92,6 +92,12 @@ def update_assessments_format(assessments):
...
@@ -92,6 +92,12 @@ def update_assessments_format(assessments):
{
'text'
:
example
[
'answer'
]}
{
'text'
:
example
[
'answer'
]}
]
]
}
}
if
isinstance
(
example
,
dict
)
and
isinstance
(
example
[
'answer'
],
list
)
and
example
[
'answer'
]
>
0
:
example
[
'answer'
]
=
{
'parts'
:
[
{
'text'
:
example
[
'answer'
][
0
]}
]
}
return
assessments
return
assessments
...
...
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