try to fix the leto's bug which assign id -1 to a thread
This commit is contained in:
parent
9da22142be
commit
5d70abf8f9
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ class ContactItem:
|
||||||
|
|
||||||
text = tag.getAttribute('onclick')
|
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)
|
m = regexp.match(text)
|
||||||
|
|
||||||
if m:
|
if m:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue