paypal: Start support for multiple currencies
For now, ignore everything that is not the primary, and do not use the converted total. This is based on http://i.imgur.com/TNcLbPB.jpg as I have 0 in all currencies for now.
This commit is contained in:
parent
0e505c0b1d
commit
6e7599d4e3
3 changed files with 30 additions and 8 deletions
|
|
@ -47,7 +47,8 @@ class PaypalBackend(BaseBackend, ICapBank):
|
|||
self.config['password'].get())
|
||||
|
||||
def iter_accounts(self):
|
||||
yield self.get_account(u"1")
|
||||
for account in self.browser.get_accounts():
|
||||
yield account
|
||||
|
||||
def get_account(self, _id):
|
||||
with self.browser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue