forked from rDrama/rDrama
:marseycapypat:
parent
1b15820329
commit
217e2d7f06
|
@ -1158,7 +1158,7 @@ def submit_post(v):
|
|||
if random.random() < 0.5: body = "wow, this lawlzpost sucks!"
|
||||
else: body = "wow, a good lawlzpost for once!"
|
||||
else: body = random.choice(snappyquotes)
|
||||
body += "\n\n"
|
||||
body += "\n<hr>\n"
|
||||
else: body = ""
|
||||
|
||||
if new_post.url:
|
||||
|
@ -1355,4 +1355,4 @@ def api_pin_post(post_id, v):
|
|||
g.db.commit()
|
||||
|
||||
if post.is_pinned: return {"message": "Post pinned!"}
|
||||
else: return {"message": "Post unpinned!"}
|
||||
else: return {"message": "Post unpinned!"}
|
||||
|
|
Loading…
Reference in New Issue