fix typo: ignore market accounts, not everything else

This commit is contained in:
Romain Bignon 2014-02-03 23:47:39 +01:00
commit 0a60d5ec80

View file

@ -49,7 +49,7 @@ class BPBackend(BaseBackend, ICapBank):
return self.browser.get_account(_id)
def iter_history(self, account):
if account.type != Account.TYPE_MARKET:
if account.type == Account.TYPE_MARKET:
raise NotImplementedError()
for tr in self.browser.get_history(account):
if not tr._coming: