Skip to content

Commit

Permalink
fix github
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaKozlovtcev committed Jul 12, 2024
1 parent cc9f5bb commit 7a05f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whole_app/spell.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def prepare(
if request_payload.exclude_urls:
for one_url in self._url_extractor.find_urls(self._input_text):
self._exclusion_words.extend(
[word.lower() for word in re.split(SEPARATORS_TO_SPLIT_URL_BY_WORDS, one_url)]
{word.lower() for word in re.split(SEPARATORS_TO_SPLIT_URL_BY_WORDS, one_url)}
)

self._spellcheck_engine = SpellChecker(request_payload.language)
Expand Down

0 comments on commit 7a05f23

Please sign in to comment.