Commit 1b95a010 by Bridger Maxwell

Added docstring.

parent 88b5d884
......@@ -139,6 +139,13 @@ class CapaModule(XModule):
@lazyproperty
def lcp(self):
"""
Loading the problem can be fairly expensive, so we do this lazily.
This can throw errors. Always be sure to use try/catch before
displaying modules to a user.
"""
if self.rerandomize == 'never':
seed = 1
elif self.rerandomize == "per_student" and hasattr(self.system, 'id'):
......
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