Skip to content

Commit

Permalink
isolate url
Browse files Browse the repository at this point in the history
My shell added the dot to the url and brought me to a non existing wikipedia page. Adding a space after the url prevents that from happening
  • Loading branch information
edasubert authored Nov 10, 2024
1 parent f843f37 commit 3208ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydantic_extra_types/currency_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def _validate(cls, currency_symbol: str, _: core_schema.ValidationInfo) -> str:
raise PydanticCustomError(
'InvalidCurrency',
'Invalid currency code.'
' See https://en.wikipedia.org/wiki/ISO_4217. '
' See https://en.wikipedia.org/wiki/ISO_4217 . '
'Bonds, testing and precious metals codes are not allowed.',
)
return currency_symbol
Expand Down

0 comments on commit 3208ec6

Please sign in to comment.