Skip to content

Commit

Permalink
Remove extra parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
mammothb committed Feb 15, 2024
1 parent e3496cf commit 73e78e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symspellpy/symspellpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def create_dictionary(
if not corpus.exists():
logger.error(f"Corpus not found at {corpus}.")
return False
for key in self._parse_words(corpus.read_text(encoding=encoding, errors=errors))):
for key in self._parse_words(corpus.read_text(encoding=encoding, errors=errors)):
self.create_dictionary_entry(key, 1)
else:
for line in corpus:
Expand Down

0 comments on commit 73e78e9

Please sign in to comment.