Commit 56543f01 by Arjun Singh

make seeds consistent with other responsetypes

parent 17fd47b7
...@@ -408,7 +408,7 @@ class JavascriptResponse(LoncapaResponse): ...@@ -408,7 +408,7 @@ class JavascriptResponse(LoncapaResponse):
output = self.call_node([generator_file, output = self.call_node([generator_file,
self.generator, self.generator,
json.dumps(self.generator_dependencies), 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() json.dumps(self.params)]).strip()
return json.loads(output) 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