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
f8dc85b6
Commit
f8dc85b6
authored
Nov 20, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oops. used wrong variable name.
parent
5a03b53a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/djangoapps/student/views.py
+2
-2
No files found.
common/djangoapps/student/views.py
View file @
f8dc85b6
...
...
@@ -184,7 +184,7 @@ def _cert_info(user, course, cert_status):
if
'download_url'
not
in
cert_status
:
log
.
warning
(
"User
%
s has a downloadable cert for
%
s, but no download url"
,
user
.
username
,
course
.
id
)
return
default_
status
return
default_
info
else
:
d
[
'download_url'
]
=
cert_status
[
'download_url'
]
...
...
@@ -193,7 +193,7 @@ def _cert_info(user, course, cert_status):
# Note: as of 11/20/2012, we know there are students in this state-- cs169.1x,
# who need to be regraded (we weren't tracking 'notpassing' at first).
# We can add a log.warning here once we think it shouldn't happen.
return
default_
status
return
default_
info
else
:
d
[
'grade'
]
=
cert_status
[
'grade'
]
...
...
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