mirror of
https://github.com/283375/arcaea-offline-pyside-ui.git
synced 2025-07-01 04:16:26 +00:00
fix: score validate not working
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user