Check content

main
Bob Mottram 2019-11-29 18:50:08 +00:00
parent e0183a0171
commit 82d16d5465
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ def questionUpdateVotes(baseDir: str,nickname: str,domain: str,replyJson: {}):
return
if not isinstance(questionJson['object']['oneOf'], list):
return
if not questionJson['object'].get('content'):
return
content=replyJson['object']['content']
# does the reply content match any possible question option?
foundAnswer=None