--- a/src/eric7/QScintilla/SpellChecker.py Sun Dec 18 14:19:10 2022 +0100 +++ b/src/eric7/QScintilla/SpellChecker.py Sun Dec 18 19:33:46 2022 +0100 @@ -14,7 +14,7 @@ from PyQt6.QtCore import QObject, QTimer -from eric7 import Preferences, Utilities +from eric7 import Globals, Preferences with contextlib.suppress(ImportError, AttributeError, OSError): import enchant @@ -91,9 +91,9 @@ exception dictionary (string) """ if isException: - return os.path.join(Utilities.getConfigDir(), "spelling", "pel.dic") + return os.path.join(Globals.getConfigDir(), "spelling", "pel.dic") else: - return os.path.join(Utilities.getConfigDir(), "spelling", "pwl.dic") + return os.path.join(Globals.getConfigDir(), "spelling", "pwl.dic") @classmethod def getUserDictionaryPath(cls, isException=False):