forked from indymedia/epicyon
Argument type
parent
fd626be274
commit
ad16224628
2
posts.py
2
posts.py
|
@ -114,7 +114,7 @@ def cleanHtml(rawHtml: str) -> str:
|
||||||
text = BeautifulSoup(rawHtml, 'html.parser').get_text()
|
text = BeautifulSoup(rawHtml, 'html.parser').get_text()
|
||||||
return html.unescape(text)
|
return html.unescape(text)
|
||||||
|
|
||||||
def getUserUrl(wfRequest) -> str:
|
def getUserUrl(wfRequest: {}) -> str:
|
||||||
if wfRequest.get('links'):
|
if wfRequest.get('links'):
|
||||||
for link in wfRequest['links']:
|
for link in wfRequest['links']:
|
||||||
if link.get('type') and link.get('href'):
|
if link.get('type') and link.get('href'):
|
||||||
|
|
Loading…
Reference in New Issue