Skip to content

Commit

Permalink
Fix wrong order tags in TDLR selection
Browse files Browse the repository at this point in the history
  • Loading branch information
mkcn committed Dec 9, 2021
1 parent 4df6bff commit 3b7b3c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion fastHistory/parser/InputData.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,10 @@ def get_tags(self, strict=False) -> list:

def get_all_words(self) -> list:
if self.all_words is None:
self.all_words = list(set(self.main_words + self.tags_strict + self.description_words_strict))
l_new = []
l_old_with_duplicates = self.main_words + self.tags_strict + self.description_words_strict
for item in l_old_with_duplicates:
if item not in l_new:
l_new.append(item)
self.all_words = l_new
return self.all_words

0 comments on commit 3b7b3c4

Please sign in to comment.