Cleanup debug
This commit is contained in:
parent
7af2455cb6
commit
90d50084a7
@ -49,17 +49,12 @@ def sendmessage(target, message):
|
|||||||
status = statusdict['sndProgress']
|
status = statusdict['sndProgress']
|
||||||
except KeyError:
|
except KeyError:
|
||||||
print("FAILED")
|
print("FAILED")
|
||||||
pprint(chatitem)
|
|
||||||
status = 'FAILED'
|
status = 'FAILED'
|
||||||
else:
|
else:
|
||||||
smessage = chatitem['chatItem']['meta']['itemText']
|
smessage = chatitem['chatItem']['meta']['itemText']
|
||||||
print("Message '%s' sent over websocket to %s, status was %s" % (smessage, target, status))
|
print("Message '%s' sent over websocket to %s, status was %s" % (smessage, target, status))
|
||||||
|
|
||||||
if status == 'complete':
|
if status == 'complete':
|
||||||
# if smessage != message:
|
|
||||||
# print("Sent duplicate message, FAIL")
|
|
||||||
# return False
|
|
||||||
# else:
|
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
Loading…
Reference in New Issue
Block a user