Commit a2224e68 by Alexander Kryklia

Improve code style.

parent 663ff81b
......@@ -137,7 +137,7 @@ class LTIModule(LTIFields, XModule):
course_id = self.runtime.course_id
course_location = CourseDescriptor.id_to_location(course_id)
course = self.descriptor.runtime.modulestore.get_item(course_location)
client_key, client_secret = '', ''
client_key = client_secret = ''
for lti_passport in course.lti_passports:
try:
lti_id, key, secret = lti_passport.split(':')
......
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