Skip to content

Commit

Permalink
fix mypy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
djbrown committed Dec 18, 2024
1 parent 5bd509d commit 4b3ec66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def parse_report_number(cell: _Element) -> int | None:


def parse_game_remark(cell: _Element) -> str:
titles = cell.xpath("a/@title")
titles = cast(list[str], cell.xpath("a/@title"))
if titles:
return titles[0]
return ""
Expand Down

0 comments on commit 4b3ec66

Please sign in to comment.