forked from rDrama/rDrama
fdfd
parent
521e9e38bd
commit
60d4b3a356
|
@ -884,6 +884,9 @@ def submit_post(v):
|
||||||
g.db.add(c)
|
g.db.add(c)
|
||||||
g.db.flush()
|
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 "rdrama" in request.host:
|
||||||
if v.id == 995: body = "fuck off carp"
|
if v.id == 995: body = "fuck off carp"
|
||||||
else: body = random.choice(snappyquotes)
|
else: body = random.choice(snappyquotes)
|
||||||
|
|
Loading…
Reference in New Issue