diff --git a/sqlalchemy_utils/primitives/currency.py b/sqlalchemy_utils/primitives/currency.py index 9eff8fd..37bd992 100644 --- a/sqlalchemy_utils/primitives/currency.py +++ b/sqlalchemy_utils/primitives/currency.py @@ -74,7 +74,7 @@ class Currency(object): try: i18n.babel.Locale('en').currencies[code] except KeyError: - raise ValueError("{0}' is not valid currency code.") + raise ValueError("'{0}' is not valid currency code.".format(code)) @property def symbol(self):