From f4b9d08ff74c3f4739be9426fb945351078dc022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9=20Rubinstein?= Date: Sat, 3 Sep 2011 08:14:36 +0200 Subject: [PATCH] galleroob: fix selection of wrong backend --- weboob/applications/galleroob/galleroob.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weboob/applications/galleroob/galleroob.py b/weboob/applications/galleroob/galleroob.py index c3caaaa1..a25bd6ff 100644 --- a/weboob/applications/galleroob/galleroob.py +++ b/weboob/applications/galleroob/galleroob.py @@ -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: