Debug
This commit is contained in:
parent
3bba7a51f3
commit
84394cb3b8
@ -37,7 +37,8 @@ def sendmessage(target, message):
|
||||
ws.close()
|
||||
|
||||
for chatitem in response['resp']['chatItems']:
|
||||
status = chatitem['chatItem']['meta']['itemStatus']['sndProgress']
|
||||
statusdict = chatitem['chatItem']['meta']['itemStatus']
|
||||
status = statusdict['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