mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-04-16 07:40:18 +00:00
fix: score validate not working
This commit is contained in:
parent
a188d6987d
commit
2d4cc61f94
@ -266,9 +266,9 @@ class OcrQueueModel(QAbstractListModel):
|
||||
if (
|
||||
isinstance(chart, Chart)
|
||||
and isinstance(score, Score)
|
||||
and chart.notes
|
||||
and score.pure
|
||||
and score.far
|
||||
and chart.notes is not None
|
||||
and score.pure is not None
|
||||
and score.far is not None
|
||||
):
|
||||
scoreRange = calculate_score_range(chart.notes, score.pure, score.far)
|
||||
scoreValidateOk = scoreRange[0] <= score.score <= scoreRange[1]
|
||||
|
Loading…
x
Reference in New Issue
Block a user