fddf
This commit is contained in:
parent
e43ec3f9fa
commit
c121a26e61
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ def frontlist(v=None, sort="hot", page=1, t="all", ids_only=True, filter_words='
|
|||
rand = random.randint(5,20)
|
||||
if post.score < rand: post.upvotes += 1
|
||||
g.db.add(post)
|
||||
g.db.commit()
|
||||
g.db.commit()
|
||||
|
||||
pins = g.db.query(Submission).filter(Submission.stickied != None, Submission.is_banned == False)
|
||||
if v and v.admin_level == 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue