Skip to content
Snippets Groups Projects
Commit af4131e3 authored by Martin Mareš's avatar Martin Mareš
Browse files

org_score: fixup! typování

parent 0479d112
No related branches found
No related tags found
No related merge requests found
...@@ -180,8 +180,7 @@ def org_score(round_id: Optional[int] = None, contest_id: Optional[int] = None): ...@@ -180,8 +180,7 @@ def org_score(round_id: Optional[int] = None, contest_id: Optional[int] = None):
table_rows.append(row) table_rows.append(row)
filename = f"vysledky_{round.year}-{round.category}-{round.level}" filename = f"vysledky_{round.year}-{round.category}-{round.level}"
if contest_id: if contest:
assert contest is not None
filename += f"_oblast_{contest.place.code or contest.place.place_id}" filename += f"_oblast_{contest.place.code or contest.place.place_id}"
table = Table( table = Table(
table_class="data full center", table_class="data full center",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment