Revert part of e15b2a8473
This commit is contained in:
parent
9223d92fc8
commit
52111043e3
1 changed files with 2 additions and 2 deletions
|
|
@ -237,11 +237,11 @@ class ReplApplication(Cmd, ConsoleApplication):
|
|||
try:
|
||||
obj = self.objects[int(_id) - 1]
|
||||
except (IndexError, ValueError):
|
||||
return None
|
||||
pass
|
||||
else:
|
||||
try:
|
||||
backend = self.weboob.get_backend(obj.backend)
|
||||
actual_method = getattr(backend,method,None)
|
||||
actual_method = getattr(backend, method, None)
|
||||
if actual_method is None:
|
||||
return None
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue