forked from indymedia/epicyon
Avoid lone hashes
parent
a60491585e
commit
a5d21852bb
|
@ -66,6 +66,7 @@ def getNewswireTags(text: str) -> []:
|
|||
tags = []
|
||||
for wrd in words:
|
||||
if wrd.startswith('#'):
|
||||
if len(wrd) > 1:
|
||||
if wrd not in tags:
|
||||
tags.append(wrd)
|
||||
return tags
|
||||
|
|
Loading…
Reference in New Issue