From 72b094e5e9f0b33bd3029a0238087eed33c5c9e3 Mon Sep 17 00:00:00 2001 From: Vasyl Nakvasiuk Date: Mon, 15 Apr 2013 10:28:07 +0300 Subject: [PATCH] fix get_state --- common/lib/xmodule/xmodule/word_cloud_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/word_cloud_module.py b/common/lib/xmodule/xmodule/word_cloud_module.py index 972d854ccb..6752ccc242 100644 --- a/common/lib/xmodule/xmodule/word_cloud_module.py +++ b/common/lib/xmodule/xmodule/word_cloud_module.py @@ -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({