diff --git a/modules/cragr/module.py b/modules/cragr/module.py index c741a4655c646cad7e61d21493806a81a50bbc23..404d41e1f5d82ea2253d3668d8ff45625f70efc3 100644 --- a/modules/cragr/module.py +++ b/modules/cragr/module.py @@ -33,7 +33,6 @@ ) from .proxy_browser import ProxyBrowser -from .regions.browser import CragrRegion __all__ = ['CreditAgricoleModule'] @@ -190,23 +189,14 @@ def iter_investment(self, account): # Recipient & Transfer methods def iter_transfer_recipients(self, account): - if isinstance(self.browser._browser, CragrRegion): - raise NotImplementedError() - if not isinstance(account, Account): account = self.get_account(account) return self.browser.iter_transfer_recipients(account) def new_recipient(self, recipient, **params): - if isinstance(self.browser._browser, CragrRegion): - raise NotImplementedError() - return self.browser.new_recipient(recipient, **params) def init_transfer(self, transfer, **params): - if isinstance(self.browser._browser, CragrRegion): - raise NotImplementedError() - def to_ascii(s): return s.encode('ascii', errors='ignore').decode('ascii') if transfer.label: @@ -214,9 +204,6 @@ def to_ascii(s): return self.browser.init_transfer(transfer, **params) def execute_transfer(self, transfer, **params): - if isinstance(self.browser._browser, CragrRegion): - raise NotImplementedError() - return self.browser.execute_transfer(transfer, **params) # Profile method