From bd9328dd713c3086eb0f77d371309a4f6a3091dc Mon Sep 17 00:00:00 2001 From: minisbett <39670899+minisbett@users.noreply.github.com> Date: Wed, 4 Sep 2024 23:42:14 +0200 Subject: [PATCH] Fix error with n300 leftover --- app/usecases/performance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/usecases/performance.py b/app/usecases/performance.py index 659127d4..9f6002ff 100644 --- a/app/usecases/performance.py +++ b/app/usecases/performance.py @@ -74,10 +74,10 @@ def calculate_performances( for score in scores: if score.acc and ( - score.n300 or score.n100 or score.n50 or score.ngeki or score.nkatu + score.n100 or score.n50 or score.ngeki or score.nkatu ): raise ValueError( - "Must not specify accuracy AND 300/100/50/geki/katu. Only one or the other.", + "Must not specify accuracy AND 100/50/geki/katu. Only one or the other.", ) # rosupp ignores NC and requires DT