Commit dab06241 authored by Fong NGO's avatar Fong NGO Committed by Vincent A

[bred/dispobank] adapt arguments passed to browser

The commit 84c940820cbe55ed7fb9a70c6341290101a1f12c changes the list of
arguments passed when we initialize DispobankBrowser without making the
corresponding changes in DispobankBrowser.__init__().
parent fc188a83
......@@ -46,8 +46,10 @@ class DispoBankBrowser(LoginBrowser):
}
}
def __init__(self, accnum, *args, **kwargs):
super(DispoBankBrowser, self).__init__(*args, **kwargs)
def __init__(self, accnum, config, *args, **kwargs):
login = config['login'].get()
password = config['password'].get()
super(DispoBankBrowser, self).__init__(login, password, *args, **kwargs)
self.accnum = accnum
self.website = 'dispobank'
......
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