paypal: Proper multi-currency support
An account per currency. And fix xpath (missing ".").
This commit is contained in:
parent
6e7599d4e3
commit
395d7e5e5d
3 changed files with 45 additions and 20 deletions
|
|
@ -47,8 +47,7 @@ class PaypalBackend(BaseBackend, ICapBank):
|
|||
self.config['password'].get())
|
||||
|
||||
def iter_accounts(self):
|
||||
for account in self.browser.get_accounts():
|
||||
yield account
|
||||
return self.browser.get_accounts().itervalues()
|
||||
|
||||
def get_account(self, _id):
|
||||
with self.browser:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue