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:
|
try:
|
||||||
obj = self.objects[int(_id) - 1]
|
obj = self.objects[int(_id) - 1]
|
||||||
except (IndexError, ValueError):
|
except (IndexError, ValueError):
|
||||||
return None
|
pass
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
backend = self.weboob.get_backend(obj.backend)
|
backend = self.weboob.get_backend(obj.backend)
|
||||||
actual_method = getattr(backend,method,None)
|
actual_method = getattr(backend, method, None)
|
||||||
if actual_method is None:
|
if actual_method is None:
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue