Commit 015bd57d by Oleg Marshev

Remove double quoting.

parent d66e6cbc
...@@ -341,8 +341,8 @@ class LTIModule(LTIFields, XModule): ...@@ -341,8 +341,8 @@ class LTIModule(LTIFields, XModule):
""" """
return "{context}:{resource_link}:{user_id}".format( return "{context}:{resource_link}:{user_id}".format(
context=urllib.quote(self.context_id), context=urllib.quote(self.context_id),
resource_link=urllib.quote(self.get_resource_link_id()), resource_link=self.get_resource_link_id(),
user_id=urllib.quote(self.get_user_id()) user_id=self.get_user_id()
) )
def get_course(self): def get_course(self):
......
...@@ -34,8 +34,8 @@ class TestLTI(BaseTestXmodule): ...@@ -34,8 +34,8 @@ class TestLTI(BaseTestXmodule):
sourcedId = "{context}:{resource_link}:{user_id}".format( sourcedId = "{context}:{resource_link}:{user_id}".format(
context=urllib.quote(context_id), context=urllib.quote(context_id),
resource_link=urllib.quote(resource_link_id), resource_link=resource_link_id,
user_id=urllib.quote(user_id) user_id=user_id
) )
lis_outcome_service_url = 'https://{host}{path}'.format( lis_outcome_service_url = 'https://{host}{path}'.format(
......
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