From 92204243242fd98563d5fec1859dadedeeed0292 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 22 Sep 2022 07:08:58 +0200 Subject: [PATCH] fix cron --- files/helpers/cron.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/helpers/cron.py b/files/helpers/cron.py index e8c18212e..fd66ebe74 100644 --- a/files/helpers/cron.py +++ b/files/helpers/cron.py @@ -6,6 +6,7 @@ from files.helpers.roulette import spin_roulette_wheel from files.helpers.get import * from files.helpers.actions import * from files.classes import * +from files.__main__ import cache import files.helpers.lottery as lottery import files.helpers.offsitementions as offsitementions @@ -31,6 +32,7 @@ def cron(every_5m, every_1h, every_1d, every_1mo): spin_roulette_wheel() offsitementions.offsite_mentions_task() if SITE_NAME == 'PCM': + cache.delete_memoized(route_static.live_cached()) route_static.live_cached() if every_1h: