From 733a57b0338f83a86cd01615cd19e8159a39cd7a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 20 Oct 2021 23:13:30 +0200 Subject: [PATCH] fg --- files/routes/awards.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/routes/awards.py b/files/routes/awards.py index 124c378bf..b87eeb324 100755 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -4,6 +4,7 @@ from files.helpers.alerts import * from files.helpers.get import * from files.helpers.const import * from files.classes.award import * +from .front import frontlist from flask import g, request @app.get("/shop") @@ -309,6 +310,7 @@ def award_post(pid, v): else: t = int(time.time()) + 3600 post.stickied = f"t:{t}" g.db.add(post) + cache.delete_memoized(frontlist) post.author.received_award_count += 1 g.db.add(post.author)