fix split bug, forget flush
This commit is contained in:
parent
3c8adf391c
commit
29ca1a7a11
1 changed files with 3 additions and 2 deletions
|
|
@ -104,9 +104,9 @@ class WeboobCfg(ReplApplication):
|
||||||
"""
|
"""
|
||||||
backends [CAPS ...]
|
backends [CAPS ...]
|
||||||
|
|
||||||
Show available backends
|
Show available backends.
|
||||||
"""
|
"""
|
||||||
caps = line.split(' ')
|
caps = line.split()
|
||||||
self.set_default_formatter('table')
|
self.set_default_formatter('table')
|
||||||
self.weboob.modules_loader.load_all()
|
self.weboob.modules_loader.load_all()
|
||||||
for name, backend in sorted(self.weboob.modules_loader.loaded.iteritems()):
|
for name, backend in sorted(self.weboob.modules_loader.loaded.iteritems()):
|
||||||
|
|
@ -117,6 +117,7 @@ class WeboobCfg(ReplApplication):
|
||||||
('Description', backend.description),
|
('Description', backend.description),
|
||||||
])
|
])
|
||||||
self.format(row)
|
self.format(row)
|
||||||
|
self.flush()
|
||||||
|
|
||||||
def do_info(self, line):
|
def do_info(self, line):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue