fdfd
This commit is contained in:
parent
59685f594e
commit
fe690c63be
1 changed files with 3 additions and 0 deletions
|
@ -884,6 +884,9 @@ def submit_post(v):
|
|||
g.db.add(c)
|
||||
g.db.flush()
|
||||
|
||||
new_post.comment_count = g.db.query(Comment).filter_by(parent_submission=new_post.id).count()
|
||||
g.db.add(new_post)
|
||||
|
||||
if "rdrama" in request.host:
|
||||
if v.id == 995: body = "fuck off carp"
|
||||
else: body = random.choice(snappyquotes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue