Skip to content

Commit

Permalink
Fix error with n300 leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
minisbett committed Sep 4, 2024
1 parent d9f6a0c commit bd9328d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/usecases/performance.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bd9328d

Please sign in to comment.