fix paypal

This commit is contained in:
Baptiste Delpey 2015-02-25 16:00:41 +01:00 committed by Romain Bignon
commit e6ff21340f
2 changed files with 10 additions and 4 deletions

View file

@ -108,7 +108,7 @@ class NewPartHistoryPage(Page):
raw = transaction['displayType']
t.parse(date=date, raw=raw)
try:
amount = transaction['netAmount']
amount = transaction['netAmount'].replace('.', ',')
except KeyError:
return
if transaction['isCredit']: