fix get_state

This commit is contained in:
Vasyl Nakvasiuk
2013-04-15 10:28:07 +03:00
parent 9495059fdc
commit 72b094e5e9

View File

@@ -133,7 +133,7 @@ class WordCloudModule(WordCloudFields, XModule):
self.all_words = temp_all_words
return self.get_state()
if dispatch == 'get_state':
elif dispatch == 'get_state':
return self.get_state()
else:
return json.dumps({