Skip to content
Snippets Groups Projects
Unverified Commit 4fab1b44 authored by Awais Qureshi's avatar Awais Qureshi Committed by GitHub
Browse files

Merge pull request #21601 from edx/awais786/PROD-670

PROD-670
parents f9f07d4b 2ca2a399
No related merge requests found
......@@ -284,4 +284,4 @@ def hash_grading_policy(grading_policy):
separators=(',', ':'), # Remove spaces from separators for more compact representation
sort_keys=True,
)
return b64encode(sha1(ordered_policy.encode("utf-8")).digest())
return b64encode(sha1(ordered_policy.encode("utf-8")).digest()).decode('utf-8')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment