diff options
Diffstat (limited to 'askbot/models/reply_by_email.py')
-rw-r--r-- | askbot/models/reply_by_email.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/models/reply_by_email.py b/askbot/models/reply_by_email.py index 98f86caf..7a575de7 100644 --- a/askbot/models/reply_by_email.py +++ b/askbot/models/reply_by_email.py @@ -47,7 +47,7 @@ class ReplyAddress(models.Model): if self.post.post_type == 'answer': result = self.user.post_comment(self.post, content) elif self.post.post_type == 'question': - wordcount = len(content.rsplit()) + wordcount = len(content)/6 if wordcount > askbot_settings.MIN_WORDS_FOR_ANSWER_BY_EMAIL: result = self.user.post_answer(self.post, content) else: |