Weboob.iter_backends() does not return backend name anymore
This commit is contained in:
parent
3ea53cd2f0
commit
daa27da3ce
10 changed files with 20 additions and 20 deletions
|
|
@ -31,8 +31,8 @@ class Dummy(BaseApplication):
|
|||
def main(self, argv):
|
||||
self.weboob.load_backends()
|
||||
|
||||
for name, backend in self.weboob.iter_backends():
|
||||
print 'Backend [%s]' % name
|
||||
for backend in self.weboob.iter_backends():
|
||||
print 'Backend [%s]' % backend.name
|
||||
if backend.has_caps(ICapMessages):
|
||||
print '|- ICapMessages [Print its messages]'
|
||||
for message in backend.iter_messages():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue