Commit 4bc41ef6 authored by Laurent George's avatar Laurent George Committed by Romain Bignon

should fix #645 (and should help to display profile name in qhavesex too)

Signed-off-by: 's avatarsetooo <setog@interzone>
Signed-off-by: Romain Bignon's avatarRomain Bignon <romain@peerfuse.org>
parent 8748c78e
......@@ -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')):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment