Variable name

master
Bob Mottram 2019-08-05 20:20:13 +01:00
parent 19ae236665
commit b48080dad2
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def getMentionsFromHtml(htmlText: str,matchStr="<span class=\"h-card\"><a href=\
mentions=[] mentions=[]
if matchStr not in htmlText: if matchStr not in htmlText:
return mentions return mentions
mentionsList=htmlStr.split(matchStr) mentionsList=htmlText.split(matchStr)
for mentionStr in mentionsList: for mentionStr in mentionsList:
if '"' not in mentionStr: if '"' not in mentionStr:
continue continue