[weboob] [PATCH 1/2] [izneo] Fix bug in page list

Vincent Texier vit at free.fr
Sun Jun 8 19:34:43 CEST 2014


Signed-off-by: Vincent Texier <vit at free.fr>
---
 modules/izneo/backend.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/izneo/backend.py b/modules/izneo/backend.py
index 1d3718e..02fe3e6 100644
--- a/modules/izneo/backend.py
+++ b/modules/izneo/backend.py
@@ -39,7 +39,7 @@ class ReaderV2(BasePage):
             'http://www.izneo.com/playerv2/ajax.php?ean=%s&action=get_list_jpg'
             % ean))
 
-        for page in pages:
+        for page in pages['list']:
             width = 1200  # maximum width
             yield BaseImage(page['page'],
                     gallery=gallery,
-- 
1.9.1




More information about the weboob mailing list