From 61b302aa7762fc9cf1d36f1636619a73c56557dc Mon Sep 17 00:00:00 2001 From: Raphael Roberts Date: Sat, 25 May 2019 01:56:13 -0500 Subject: [PATCH] Making linux happy --- dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dictionary.py b/dictionary.py index 951a41b..a16a8cc 100644 --- a/dictionary.py +++ b/dictionary.py @@ -8,7 +8,7 @@ DEFAULT = spellchecker.WordFrequency() ALTERNATE = spellchecker.WordFrequency() -package_root = pathlib.Path(spellchecker.__file__) / ".." +package_root = pathlib.Path(spellchecker.__file__).parent english = package_root / "resources" / "en.json.gz" extra_words = pathlib.Path(__file__, "..", "extra_words.txt")