galleroob: fix selection of wrong backend
This commit is contained in:
parent
26ca3a65cd
commit
f4b9d08ff7
1 changed files with 2 additions and 2 deletions
|
|
@ -96,9 +96,9 @@ class Galleroob(ReplApplication):
|
|||
|
||||
gallery = None
|
||||
_id, backend = self.parse_id(_id)
|
||||
for backend, result in self.do('get_gallery', _id, backends=backend):
|
||||
for _backend, result in self.do('get_gallery', _id, backends=backend):
|
||||
if result:
|
||||
backend = backend
|
||||
backend = _backend
|
||||
gallery = result
|
||||
|
||||
if not gallery:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue