try to fix the leto's bug which assign id -1 to a thread

This commit is contained in:
Romain Bignon 2010-09-28 10:55:03 +02:00
commit 5d70abf8f9

View file

@ -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: