Commit 8eb8050b by John Jarvis

unavailable->CertificateStatuses.unavailable

parent 085212e2
......@@ -100,4 +100,4 @@ def certificate_status_for_student(student, course_id):
return {'status': generated_certificate.status}
except GeneratedCertificate.DoesNotExist:
pass
return {'status': 'unavailable'}
return {'status': CertificateStatuses.unavailable}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment