load modules instead of backends
This commit is contained in:
parent
da00520ad7
commit
51b5d00b6e
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class WeboobDebug(ConsoleApplication):
|
||||||
@ConsoleApplication.command('Debug backend')
|
@ConsoleApplication.command('Debug backend')
|
||||||
def command_shell(self, backend_name):
|
def command_shell(self, backend_name):
|
||||||
try:
|
try:
|
||||||
backend = self.weboob.load_backends(names=[backend_name])[backend_name]
|
backend = self.weboob.load_modules(names=[backend_name])[backend_name]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.error(u'Unable to load backend "%s"' % backend_name)
|
logging.error(u'Unable to load backend "%s"' % backend_name)
|
||||||
return 1
|
return 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue