From d3240a36f715fb37d8bec6d4f8bac94c74e747c4 Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sat, 25 May 2019 14:05:11 -0500 Subject: [PATCH] Made linux happy (again) --- dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictionary.py b/dictionary.py index a16a8cc..6243a68 100644 --- a/dictionary.py +++ b/dictionary.py @@ -11,7 +11,7 @@ ALTERNATE = spellchecker.WordFrequency() package_root = pathlib.Path(spellchecker.__file__).parent english = package_root / "resources" / "en.json.gz" -extra_words = pathlib.Path(__file__, "..", "extra_words.txt") +extra_words = pathlib.Path(__file__).parent / "extra_words.txt" def do_operation(bound_method, *args, **kwargs):