From 5d70abf8f9559537e09f2f4e3737d7db8bbdad1f Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 28 Sep 2010 10:55:03 +0200 Subject: [PATCH] try to fix the leto's bug which assign id -1 to a thread --- weboob/backends/aum/pages/contact_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/backends/aum/pages/contact_list.py b/weboob/backends/aum/pages/contact_list.py index ba5277f2..f07b718e 100644 --- a/weboob/backends/aum/pages/contact_list.py +++ b/weboob/backends/aum/pages/contact_list.py @@ -111,7 +111,7 @@ class ContactItem: text = tag.getAttribute('onclick') - regexp = re.compile("window.location='/thread.php\?id=(.*)'") + regexp = re.compile("window.location='/thread.php\?id=(\d+)'") m = regexp.match(text) if m: