Fix bug introduced in ReplApplication.get_object refactoring
Refe15b2a8473e0417f702d0668db2b5a
This commit is contained in:
parent
0668db2b5a
commit
3bb4b50ba0
1 changed files with 2 additions and 2 deletions
|
|
@ -263,9 +263,9 @@ class ReplApplication(Cmd, ConsoleApplication):
|
|||
obj = None
|
||||
|
||||
# remove backends that do not have the required method
|
||||
new_backend_names=[]
|
||||
new_backend_names = []
|
||||
for backend in backend_names:
|
||||
if isinstance(backend,str):
|
||||
if isinstance(backend, str) or isinstance(backend, unicode):
|
||||
actual_backend = self.weboob.get_backend(backend)
|
||||
else:
|
||||
actual_backend = backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue