:marseycapypat:
This commit is contained in:
parent
5a108fafdd
commit
14c5790385
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue