From 82d16d5465514f58dc26c221428f689402cae92c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 29 Nov 2019 18:50:08 +0000 Subject: [PATCH] Check content --- question.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/question.py b/question.py index 37e0d3a3..59f7730f 100644 --- a/question.py +++ b/question.py @@ -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