should fix #645 (and should help to display profile name in qhavesex too)
Signed-off-by: setooo <setog@interzone> Signed-off-by: Romain Bignon <romain@peerfuse.org>
This commit is contained in:
parent
27d6614f38
commit
27d659376e
1 changed files with 2 additions and 1 deletions
|
|
@ -265,7 +265,8 @@ class ProfilePage(PageBase):
|
|||
if (div.hasAttribute('style') and
|
||||
div.getAttribute('style') == "color:#ffffff;font-size:32px;font-weight:bold;letter-spacing:-2px" and
|
||||
hasattr(div.firstChild, 'data')):
|
||||
self.name = div.firstChild.data
|
||||
if len(div.childNodes) > 1:
|
||||
self.name = div.childNodes[1].data
|
||||
if (div.hasAttribute('style') and
|
||||
div.getAttribute('style') == "font-size:12px;font-weight:bold" and
|
||||
hasattr(div.firstChild, 'data')):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue