fix websocket on_message
This commit is contained in:
parent
4dece6bc10
commit
6f811b6093
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue