Commit dd4fe82b by Alexander Kryklia

Improve code.

parent 6fc280d6
......@@ -158,9 +158,7 @@ class LTIModule(LTIFields, XModule):
Should be "x=y" string.'.format(custom_parameter))
# LTI specs: 'custom_' should be prepended before each custom parameter
custom_parameters.update(
{u'custom_' + unicode(param_name): unicode(param_value)}
)
custom_parameters[u'custom_' + unicode(param_name)] = unicode(param_value)
input_fields = (self.oauth_params(
custom_parameters,
......
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