Prevent exception when server returns bad response to message
Prevent exception when server returns bad response to message

--- a/client/LocalChatClient.py
+++ b/client/LocalChatClient.py
@@ -161,7 +161,7 @@
 
         resp = self.sendRequest(request)        
         
-        if resp['status'] == "ok":
+        if "status" in resp and resp['status'] == "ok":
             return True
         
         return False
@@ -197,7 +197,7 @@
 
         resp = self.sendRequest(request)        
         
-        if resp['status'] == "ok":
+        if "status" in resp and resp['status'] == "ok":
             return True
         
         return False