forked from indymedia/epicyon
Check content
parent
e0183a0171
commit
82d16d5465
|
@ -43,6 +43,8 @@ def questionUpdateVotes(baseDir: str,nickname: str,domain: str,replyJson: {}):
|
||||||
return
|
return
|
||||||
if not isinstance(questionJson['object']['oneOf'], list):
|
if not isinstance(questionJson['object']['oneOf'], list):
|
||||||
return
|
return
|
||||||
|
if not questionJson['object'].get('content'):
|
||||||
|
return
|
||||||
content=replyJson['object']['content']
|
content=replyJson['object']['content']
|
||||||
# does the reply content match any possible question option?
|
# does the reply content match any possible question option?
|
||||||
foundAnswer=None
|
foundAnswer=None
|
||||||
|
|
Loading…
Reference in New Issue