From e143f0e71addaa72dadfc8e1482b2a4788560af0 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Thu, 6 Apr 2017 18:13:27 +1200 Subject: [PATCH] Spacing --- mopidy_iris/handlers.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mopidy_iris/handlers.py b/mopidy_iris/handlers.py index 9529ec40..409abaf8 100755 --- a/mopidy_iris/handlers.py +++ b/mopidy_iris/handlers.py @@ -91,13 +91,15 @@ class WebsocketHandler(tornado.websocket.WebSocketHandler): mem.iris.send_message(self.connection_id, response) else: response = { - 'error': 'Method "'+message['method']+'" does not exist', + 'status': 0, + 'message': 'Method "'+message['method']+'" does not exist', 'request_id': request_id } mem.iris.send_message(self.connection_id, response) else: response = { - 'error': 'Method key missing from request', + 'status': 0, + 'message': 'Method key missing from request', 'request_id': request_id } mem.iris.send_message(self.connection_id, response)