Fix minor bug to make things work for now

This commit is contained in:
Christian Wolf 2023-11-20 13:41:23 +01:00
parent 345d060afa
commit e081769b6c
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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
)