Fix bug introduced in ReplApplication.get_object refactoring

Ref e15b2a8473
    e0417f702d
    0668db2b5a
This commit is contained in:
Florent 2014-01-06 14:58:29 +01:00
commit 3bb4b50ba0

View file

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