From c69ce49946af5fc33c6f70ecf2ec89df6e9773b0 Mon Sep 17 00:00:00 2001 From: Samuel Cattini-Schultz Date: Fri, 7 Jun 2024 22:28:15 +1000 Subject: [PATCH] fixup! Implement difficalcy calculators --- common/osu/test_difficultycalculator.py | 2 +- leaderboards/tasks.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common/osu/test_difficultycalculator.py b/common/osu/test_difficultycalculator.py index a4f9836..4fe0a3e 100644 --- a/common/osu/test_difficultycalculator.py +++ b/common/osu/test_difficultycalculator.py @@ -448,7 +448,7 @@ def test_calculate_score(self): score = Score( "4", mods=int(Mods.DOUBLETIME), - count_geki=1, + count_300=1, count_katu=2, count_100=3, count_50=4, diff --git a/leaderboards/tasks.py b/leaderboards/tasks.py index 58a8ec6..48a9341 100644 --- a/leaderboards/tasks.py +++ b/leaderboards/tasks.py @@ -2,7 +2,6 @@ from celery import shared_task from django.conf import settings -from django.core.cache import cache from django.db import transaction from common.discord_webhook_sender import DiscordWebhookSender