diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 5094582b4..43979b966 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -195,16 +195,16 @@ def execute_snappy(post, v): def execute_zozbot(c, level, parent_submission, v): if random.random() >= 0.001: return c2 = Comment(author_id=ZOZBOT_ID, - parent_submission=parent_submission, - parent_comment_id=c.id, - level=level+1, - is_bot=True, - body="zoz", - body_html="
zoz
", - top_comment_id=c.top_comment_id, - ghost=c.ghost, - distinguish_level=6 - ) + parent_submission=parent_submission, + parent_comment_id=c.id, + level=level+1, + is_bot=True, + body="zoz", + body_html="zoz
", + top_comment_id=c.top_comment_id, + ghost=c.ghost, + distinguish_level=6 + ) g.db.add(c2) g.db.flush()