1
0
mirror of https://github.com/ihabunek/toot.git synced 2024-09-22 04:25:55 -04:00

Fix compat with older python versions

This commit is contained in:
Ivan Habunek 2023-11-18 11:25:52 +01:00
parent 59adec3e55
commit 8d1edd5374
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D

View File

@ -383,7 +383,7 @@ class ConversionError(Exception):
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}` " +