Show the whole message content

main2
Bob Mottram 2019-09-30 10:53:43 +01:00
parent 4aa56256e8
commit 11f6655530
1 changed files with 1 additions and 1 deletions

View File

@ -1110,7 +1110,7 @@ def validPostContent(messageJson: {}) -> bool:
if badStr in messageJson['object']['content']:
if messageJson['object'].get('id'):
print('REJECT: '+messageJson['object']['id'])
print('REJECT: bad string in post - '+badStr)
print('REJECT: bad string in post - '+messageJson['object']['content'])
return False
print('ACCEPT: post content is valid')
return True