Fix token bug in stripe payments

This commit is contained in:
Joseph Schorr 2013-11-15 15:31:05 -05:00
parent 457b619647
commit 04780cb3fa
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ def renderInvoiceToHtml(invoice, user):
if not price:
return '$0'
return '$' + '{.2f}'.format(price / 100)
return '$' + '{0:.2f}'.format(float(price) / 100)
def get_range(line):
if line.period and line.period.start and line.period.end: