Commit 8d628ef2 by John Jarvis Committed by Carlos Andrés Rocha

unavailable->CertificateStatuses.unavailable

parent 507794ac
......@@ -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