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
acad712c
Commit
acad712c
authored
May 06, 2014
by
Will Daly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TIM-499: Database error in peer_assess handler uses variable before assignment
parent
85d6c5a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
apps/openassessment/assessment/peer_api.py
+4
-0
No files found.
apps/openassessment/assessment/peer_api.py
View file @
acad712c
...
@@ -188,6 +188,10 @@ def create_assessment(
...
@@ -188,6 +188,10 @@ def create_assessment(
>>> feedback = "Your submission was thrilling."
>>> feedback = "Your submission was thrilling."
>>> create_assessment("1", "Tim", options_selected, criterion_feedback, feedback, rubric_dict)
>>> create_assessment("1", "Tim", options_selected, criterion_feedback, feedback, rubric_dict)
"""
"""
# Ensure that this variables is declared so if an error occurs
# we don't get an error when trying to log it!
assessment_dict
=
None
try
:
try
:
rubric
=
rubric_from_dict
(
rubric_dict
)
rubric
=
rubric_from_dict
(
rubric_dict
)
...
...
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