store instance name in Backend
This commit is contained in:
parent
d0588a4c6c
commit
4736260993
2 changed files with 6 additions and 5 deletions
|
|
@ -44,8 +44,9 @@ class Backend:
|
|||
|
||||
class ConfigError(Exception): pass
|
||||
|
||||
def __init__(self, weboob, config):
|
||||
def __init__(self, weboob, name, config):
|
||||
self.weboob = weboob
|
||||
self.name = name
|
||||
self.config = {}
|
||||
for name, field in self.CONFIG.iteritems():
|
||||
value = config.get(name, field.default)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue