fixes: work with iter_resource, and use ISO currency codes instead of symbols

This commit is contained in:
Romain Bignon 2015-08-12 15:32:11 +02:00
commit 9e227830bf
2 changed files with 9 additions and 1 deletions

View file

@ -131,6 +131,6 @@ class Amazon(LoginBrowser):
b.date = o.date
b.price = o.total
b.format = o._bill['format']
b.currency = self.get_currency()
b.currency = b.get_currency(self.get_currency())
b.vat = o.tax
yield b