From 792156c5ec9a151dce28e76c14885b45fcc2e526 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 21 Oct 2021 01:18:58 +0200 Subject: [PATCH] sdf --- files/routes/awards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/awards.py b/files/routes/awards.py index 2bf941a3a..25c037185 100755 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -332,7 +332,7 @@ def award_post(pid, v): link = f"[this post]({post.permalink})" send_notification(NOTIFICATIONS_ACCOUNT, author, f"Your account has been suspended permanently for {link}. You must [provide the admins](/contact) a timestamped picture of you touching grass to get unbanned!") elif kind == "pin": - if post.stickied and post.stickied.startswith("t:"): t = int(post.stickied[2:]) + 600 + if post.stickied and post.stickied.startswith("t:"): t = int(post.stickied[2:]) + 3600 else: t = int(time.time()) + 3600 post.stickied = f"t:{t}" g.db.add(post)