fix prev commit

master
Aevann 2024-01-23 16:04:30 +02:00
parent f7ba86b262
commit 29750ced42
1 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,8 @@ def sidebar(v):
def participation_stats(v):
stats = cache.get('stats')
if not stats:
cache.set('stats', stats.stats(), timeout=172800)
stats = statshelper.stats()
cache.set('stats', stats, timeout=172800)
if v.client: return stats
return render_template("stats.html", v=v, title="Statistics", data=stats)