fixed error formatting in currency.py
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user