Skip to content

Commit

Permalink
Fix compat with older python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ihabunek committed Nov 18, 2023
1 parent 59adec3 commit 8d1edd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toot/entities.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def __init__(
data_class: Type,
field_name: str,
field_type: Type,
field_value: str | None,
field_value: Optional[str]
):
super().__init__(
f"Failed converting field `{data_class.__name__}.{field_name}` " +
Expand Down

0 comments on commit 8d1edd5

Please sign in to comment.