Commit 2444c16a by dragonfi

Workaround for workbench not assigning location parameter

parent 3a7b7822
......@@ -216,7 +216,10 @@ class LightChild(Plugin, LightChildrenMixin):
def __init__(self, parent):
self.parent = parent
self.location = parent.location
try:
self.location = parent.location
except AttributeError:
self.location = None
self.scope_ids = parent.scope_ids
self.xblock_container = parent.xblock_container
self._student_data_loaded = False
......
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