diff --git a/app/models.py b/app/models.py index d754092e..1f600c5a 100644 --- a/app/models.py +++ b/app/models.py @@ -601,7 +601,7 @@ class User(UserMixin, db.Model): db.session.delete(post) post_replies = PostReply.query.filter_by(user_id=self.id).all() for reply in post_replies: - reply.body = reply.body_html = reply.body_html_safe = '' + reply.body = reply.body_html = '' db.session.commit()