This commit is contained in:
Florent 2014-01-07 12:57:36 +01:00
commit 52111043e3

View file

@ -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: