Commit 6220da32 by Alexander Kryklia

Improve code.

parent dd4fe82b
......@@ -160,11 +160,11 @@ class LTIModule(LTIFields, XModule):
# LTI specs: 'custom_' should be prepended before each custom parameter
custom_parameters[u'custom_' + unicode(param_name)] = unicode(param_value)
input_fields = (self.oauth_params(
input_fields = self.oauth_params(
custom_parameters,
client_key,
client_secret
))
)
context = {
'input_fields': input_fields,
......
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