Skip to content

Commit

Permalink
fix error when grabbing match number
Browse files Browse the repository at this point in the history
  • Loading branch information
00magikarp committed Apr 23, 2024
1 parent 148973f commit f908fc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion falconscoutcore/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def write_dataval_errors(data_val_col) -> None:

errors_by_match = sorted(
scouting_data_errors,
key=lambda error: int(error["match"][2:]),
key=lambda error: int(error["match"][2:]) if error["match"][0] != "f" else int(error["match"][1:]),
reverse=True,
)

Expand Down

0 comments on commit f908fc3

Please sign in to comment.