Debug
This commit is contained in:
parent
e3b6d650b8
commit
5ee659c376
@ -37,8 +37,8 @@ def sendmessage(target, message):
|
||||
ws.close()
|
||||
|
||||
for chatitem in response['resp']['chatItems']:
|
||||
status = json.loads(chatitem['chatItem']['meta']['itemStatus'])
|
||||
pprint(status)
|
||||
status = chatitem['chatItem']['meta']['itemStatus']
|
||||
pprint(status['sndProgress'])
|
||||
smessage = chatitem['chatItem']['meta']['itemText']
|
||||
print("Message %s sent over websocket to %s, status was %s" % (smessage, target, status))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user