fix typo: ignore market accounts, not everything else
This commit is contained in:
parent
5b03648b68
commit
0a60d5ec80
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class BPBackend(BaseBackend, ICapBank):
|
||||||
return self.browser.get_account(_id)
|
return self.browser.get_account(_id)
|
||||||
|
|
||||||
def iter_history(self, account):
|
def iter_history(self, account):
|
||||||
if account.type != Account.TYPE_MARKET:
|
if account.type == Account.TYPE_MARKET:
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
for tr in self.browser.get_history(account):
|
for tr in self.browser.get_history(account):
|
||||||
if not tr._coming:
|
if not tr._coming:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue