Skip to content

Commit

Permalink
fix mypy issue on Py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Conengmo committed Nov 19, 2024
1 parent 6e9ce52 commit b3a99a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion battle_map_tv/initiative.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _format_text(text: str) -> str:
out_lines.append(line)
return "\n".join(out_lines)

def move(self, position: int | None = None) -> "InitiativeOverlay":
def move(self, position: Optional[int] = None) -> "InitiativeOverlay":
positions = {
0: self.to_top_left,
1: self.to_top_right,
Expand Down

0 comments on commit b3a99a2

Please # to comment.