Fix minor bug to make things work for now
This commit is contained in:
parent
345d060afa
commit
e081769b6c
@ -11,7 +11,7 @@ class State4:
|
||||
def __init__(
|
||||
self, resultPerGroup: dict[solo_turnier.group.Group, TotalGroupResult]
|
||||
):
|
||||
parser = group.GroupParser()
|
||||
parser = solo_turnier.group.GroupParser()
|
||||
self.groups = parser.getGroupsAsSortedList(resultPerGroup.keys())
|
||||
self.results = resultPerGroup
|
||||
|
||||
|
@ -82,7 +82,9 @@ class ResultExtractor:
|
||||
|
||||
for person in result.results.keys():
|
||||
placeStr = result.results[person]
|
||||
place, placeTo = self._extractPlace(placeStr)
|
||||
placeObj = self._extractPlace(placeStr)
|
||||
place = placeObj.place
|
||||
placeTo = placeObj.placeTo
|
||||
competitionResult = types.HtmlSingleCompetitionResult(
|
||||
person.name, place, placeTo, person.finalist
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user