Merge pull request #199 from vToMy/master

fixed error formatting in currency.py
This commit is contained in:
Konsta Vesterinen
2016-03-07 15:12:05 +02:00

View File

@@ -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):