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