Skip to content

Commit

Permalink
Add missing typing conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJCLaw committed Nov 25, 2024
1 parent 226e0d4 commit 8db2b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scoring/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ def form_to_score(self, match: Match, form: InputForm) -> ScoreData:

def score_team_to_form(self, tla: TLA, info: ScoreTeamData) -> OutputForm:
zone_id = info['zone']
return {
return OutputForm({
**super().score_team_to_form(tla, info),
f'left_starting_zone_{zone_id}': info.get('left_starting_zone', False),
}
})

def score_district_to_form(self, name: str, district: RawDistrict) -> OutputForm:
return OutputForm({
Expand Down

0 comments on commit 8db2b89

Please sign in to comment.