Debug
This commit is contained in:
parent
068af17935
commit
2302e9b166
@ -35,7 +35,7 @@ def sendmessage(target, message):
|
|||||||
responsejson = ws.recv() # Receive response
|
responsejson = ws.recv() # Receive response
|
||||||
response = json.loads(responsejson)
|
response = json.loads(responsejson)
|
||||||
for chatitem in response['resp']['chatItems']:
|
for chatitem in response['resp']['chatItems']:
|
||||||
print(chatitem)
|
pprint(chatitem)
|
||||||
# print("Message %s sent over websocket to %s" % (chatitem['content'], target))
|
# print("Message %s sent over websocket to %s" % (chatitem['content'], target))
|
||||||
# ws.close() # Close WebSocket connection
|
# ws.close() # Close WebSocket connection
|
||||||
# print(response)
|
# print(response)
|
||||||
|
Loading…
Reference in New Issue
Block a user