Commit 25716bcb authored by ntome's avatar ntome Committed by Romain Bignon

fix AbstractBrowser use

parent 8d554fd0
......@@ -27,7 +27,6 @@ class HumanisBrowser(AbstractBrowser):
login = URL('(?P<subsite>.*)fr/identification/login.cgi', LoginPage)
def __init__(self, weboob, baseurl, subsite, login, password, *args, **kwargs):
self.weboob = weboob
super(self.__class__, self).__init__(baseurl, login, password, subsite, *args, **kwargs)
def __init__(self, baseurl, subsite, login, password, *args, **kwargs):
self.weboob = kwargs['weboob']
super(HumanisBrowser, self).__init__(baseurl, login, password, subsite, *args, **kwargs)
......@@ -43,12 +43,11 @@ class HumanisModule(Module, CapBank):
def create_default_browser(self):
return self.create_browser(
self.weboob,
self.weboob,
'https://www.gestion-epargne-salariale.fr',
'humanis/',
self.config['login'].get(),
self.config['password'].get()
self.config['password'].get(),
weboob=self.weboob
)
def get_account(self, _id):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment