Decimal is imported as D

pull/1/head
Raymond Yee 2016-05-10 11:27:24 -07:00
parent bff6092565
commit 795364a86e
1 changed files with 1 additions and 1 deletions

View File

@ -2993,7 +2993,7 @@ class DownloadView(PurchaseView):
'action': "Contribution",
'user_license': self.user_license,
'lib_thanked': self.lib_thanked,
'amount': Decimal(self.request.session.pop('amount')/100) if self.request.session.has_key('amount') else None,
'amount': D(self.request.session.pop('amount')/100) if self.request.session.has_key('amount') else None,
'testmode': self.request.REQUEST.has_key('testmode'),
'source': self.request.REQUEST.get('source', ''),