Commit 72b094e5 by Vasyl Nakvasiuk

fix get_state

parent 9495059f
...@@ -133,7 +133,7 @@ class WordCloudModule(WordCloudFields, XModule): ...@@ -133,7 +133,7 @@ class WordCloudModule(WordCloudFields, XModule):
self.all_words = temp_all_words self.all_words = temp_all_words
return self.get_state() return self.get_state()
if dispatch == 'get_state': elif dispatch == 'get_state':
return self.get_state() return self.get_state()
else: else:
return json.dumps({ return json.dumps({
......
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