fix websocket on_message

This commit is contained in:
j 2014-09-01 09:51:48 +02:00
parent 4dece6bc10
commit 6f811b6093
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ class Handler(WebSocketHandler):
#websocket calls
def on_message(self, message):
action, data = json.load(message)
action, data = json.loads(message)
if state.tasks:
state.tasks.queue(action, data)