Skip to content

Commit

Permalink
fix f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
mein Name committed Dec 9, 2024
1 parent 671f204 commit 58d7683
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion catalog/common/jsondata.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def to_json(self, value: datetime | date | str):
v = dateparse.parse_date(value)
if v is None:
raise ValueError(
"DateTimeField: '{value}' has invalid datatime format"
f"DateTimeField: '{value}' has invalid datatime format"
)
value = v
if isinstance(value, date):
Expand Down
2 changes: 1 addition & 1 deletion neodb-takahe

0 comments on commit 58d7683

Please sign in to comment.