From b50f4e146a8c27bbc416768d6d31cd03c8c0e670 Mon Sep 17 00:00:00 2001 From: Ned Batchelder <ned@edx.org> Date: Sat, 5 Jun 2021 06:45:03 -0400 Subject: [PATCH] fix: remove stray character in message --- lti_consumer/lti_1p1/consumer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lti_consumer/lti_1p1/consumer.py b/lti_consumer/lti_1p1/consumer.py index 1290fc9..7341c61 100644 --- a/lti_consumer/lti_1p1/consumer.py +++ b/lti_consumer/lti_1p1/consumer.py @@ -87,7 +87,7 @@ def parse_result_json(json_str): # '@type' must be "Result" result_type = json_obj.get("@type") if result_type != "Result": - msg = f"JSON object does not contain correct @type attribute (should be 'Result', is z{result_type!r})" + msg = f"JSON object does not contain correct @type attribute (should be 'Result', is {result_type!r})" log.error("[LTI] %s", msg) raise Lti1p1Error(msg) -- GitLab