Commit cb669461 by Calen Pennington

Merge pull request #663 from MITx/feature/arjun/js_seeds

make seeds consistent with other responsetypes
parents b0e4bebc bd5fc644
......@@ -408,7 +408,7 @@ class JavascriptResponse(LoncapaResponse):
output = self.call_node([generator_file,
self.generator,
json.dumps(self.generator_dependencies),
json.dumps(self.context['random'].getrandbits(9)),
json.dumps(str(self.context['the_lcp'].seed)),
json.dumps(self.params)]).strip()
return json.loads(output)
......
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