Debug
This commit is contained in:
parent
50ef25c129
commit
a3010018d4
@ -36,7 +36,7 @@ def sendmessage(target, message):
|
|||||||
response = json.loads(responsejson)
|
response = json.loads(responsejson)
|
||||||
for chatitem in response['resp']['chatItems']:
|
for chatitem in response['resp']['chatItems']:
|
||||||
pprint(chatitem['chatItem'])
|
pprint(chatitem['chatItem'])
|
||||||
# print("Message %s sent over websocket to %s" % (chatitem['content']['msgContent']['text'], target))
|
print("Message %s sent over websocket to %s" % (chatitem['chatItem']['content']['msgContent']['text'], target))
|
||||||
# ws.close() # Close WebSocket connection
|
# ws.close() # Close WebSocket connection
|
||||||
# print(response)
|
# print(response)
|
||||||
ws.close()
|
ws.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user