Skip to content

Commit

Permalink
fix: forgot to wrap in type wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Apr 26, 2024
1 parent 6ade83c commit a41e839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion siwe/siwe.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def from_datetime(
) -> "ISO8601Datetime":
"""Create an ISO-8601 formatted string from a datetime object."""
# NOTE: Only a useful classmethod for creating these objects
return (
return ISO8601Datetime(
dt.astimezone(tz=timezone.utc)
.isoformat(timespec=timespec)
.replace("+00:00", "Z")
Expand Down

0 comments on commit a41e839

Please sign in to comment.