From 166e87f76f56b4854832c2dbe61585912cda4f4f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 12 Nov 2021 00:52:52 +0200 Subject: [PATCH] fddf --- files/routes/front.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/front.py b/files/routes/front.py index 8ad45fe341..ba37883417 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -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: