apply alsace and lorrainechampagne fusion in bpalc in banquepopulaire module
This commit is contained in:
parent
6c06d50476
commit
71c4621083
1 changed files with 3 additions and 1 deletions
|
|
@ -63,7 +63,9 @@ class BanquePopulaireModule(Module, CapBank):
|
|||
BROWSER = BanquePopulaire
|
||||
|
||||
def create_default_browser(self):
|
||||
return self.create_browser(self.config['website'].get(),
|
||||
repls = ('alsace', 'bpalc'), ('lorrainechampagne', 'bpalc')
|
||||
website = reduce(lambda a, kv: a.replace(*kv), repls, self.config['website'].get())
|
||||
return self.create_browser(website,
|
||||
self.config['login'].get(),
|
||||
self.config['password'].get())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue