Commit 82a74abd by Alexander Kryklia

return ok on poll_reset

parent 9cdd271e
......@@ -85,6 +85,7 @@ class PollModule(XModule):
self.poll_answers = temp_poll_answers
self.poll_answer = ''
return json.dumps('success')
else: # return error message
return json.dumps({'error': 'Unknown Command!'})
......
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