diff --git a/newswire.py b/newswire.py index bec28b70..57f992f9 100644 --- a/newswire.py +++ b/newswire.py @@ -66,8 +66,9 @@ def getNewswireTags(text: str) -> []: tags = [] for wrd in words: if wrd.startswith('#'): - if wrd not in tags: - tags.append(wrd) + if len(wrd) > 1: + if wrd not in tags: + tags.append(wrd) return tags