Skip to content
Snippets Groups Projects
Unverified Commit f89ea89d authored by Diana Huang's avatar Diana Huang Committed by GitHub
Browse files

Merge pull request #51 from edx/diana/handle-input

Handle case when we don't have to turn body into a bytestring.
parents 4ee37e61 4fdae3c5
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ def parse_grade_xml_body(body):
"""
lti_spec_namespace = "http://www.imsglobal.org/services/ltiv1p1/xsd/imsoms_v1p0"
namespaces = {'def': lti_spec_namespace}
data = body.strip()
if isinstance(body, text_type):
data = body.strip().encode('utf-8')
......
......@@ -25,7 +25,7 @@ def package_data(pkg, roots):
setup(
name='lti_consumer-xblock',
version='1.2.2',
version='1.2.3',
description='This XBlock implements the consumer side of the LTI specification.',
packages=[
'lti_consumer',
......
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