Commit 67c205b1 authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[humanis] Re-ordered browser instanciation arguments

This is a child module of CMES, in which the same re-ordering was done.
parent fc19a9e4
......@@ -27,6 +27,6 @@ class HumanisBrowser(AbstractBrowser):
login = URL('humanis/fr/identification/login.cgi', LoginPage)
def __init__(self, baseurl, subsite, login, password, *args, **kwargs):
def __init__(self, login, password, baseurl, subsite, *args, **kwargs):
self.weboob = kwargs['weboob']
super(HumanisBrowser, self).__init__(baseurl, login, password, subsite, *args, **kwargs)
super(HumanisBrowser, self).__init__(login, password, baseurl, subsite, *args, **kwargs)
......@@ -43,10 +43,10 @@ class HumanisModule(Module, CapBankPockets):
def create_default_browser(self):
return self.create_browser(
'https://www.gestion-epargne-salariale.fr',
'humanis/',
self.config['login'].get(),
self.config['password'].get(),
'https://www.gestion-epargne-salariale.fr',
'humanis/',
weboob=self.weboob
)
......
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