Coding style
This commit is contained in:
parent
0a7414d3e5
commit
0b39d2d873
1 changed files with 1 additions and 1 deletions
|
|
@ -265,7 +265,7 @@ class ReplApplication(Cmd, ConsoleApplication):
|
|||
# remove backends that do not have the required method
|
||||
new_backend_names = []
|
||||
for backend in backend_names:
|
||||
if isinstance(backend, str) or isinstance(backend, unicode):
|
||||
if isinstance(backend, (str, unicode)):
|
||||
actual_backend = self.weboob.get_backend(backend)
|
||||
else:
|
||||
actual_backend = backend
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue