Save lcp state on initialization (for seed initialization)

This commit is contained in:
Calen Pennington
2013-03-11 12:25:45 -04:00
parent 881e137fb0
commit 7b5427006c

View File

@@ -168,6 +168,8 @@ class CapaModule(XModule):
# add extra info and raise
raise Exception(msg), None, sys.exc_info()[2]
self.set_state_from_lcp()
def new_lcp(self, state, text=None):
if text is None:
text = self.data