Python
This commit is contained in:
parent
2ddde46e96
commit
8709514e8f
1 changed files with 2 additions and 2 deletions
|
@ -708,13 +708,13 @@ class PostStatus(models.Model):
|
|||
except Exception as e:
|
||||
logger.error(
|
||||
"Error while checking Akismet", exc_info=True, extra={
|
||||
"post", self.post, "post_id": self.post.id,
|
||||
"post": self.post, "post_id": self.post.id,
|
||||
"content_length": len(content)})
|
||||
is_spam = None
|
||||
except Exception as e:
|
||||
logger.error(
|
||||
"Error while checking Akismet", exc_info=True, extra={
|
||||
"post", self.post, "post_id": self.post.id,
|
||||
"post": self.post, "post_id": self.post.id,
|
||||
"content_length": len(content)})
|
||||
is_spam = None
|
||||
|
||||
|
|
Reference in a new issue