diff -r 22c3928a1ab5 -r 9ef616cd220d src/eric7/QScintilla/SpellChecker.py --- a/src/eric7/QScintilla/SpellChecker.py Wed Sep 25 14:07:40 2024 +0200 +++ b/src/eric7/QScintilla/SpellChecker.py Wed Sep 25 14:48:57 2024 +0200 @@ -14,7 +14,7 @@ from PyQt6.QtCore import QObject, QTimer -from eric7 import Globals, Preferences +from eric7 import EricUtilities, Preferences with contextlib.suppress(ImportError, AttributeError, OSError): import enchant @@ -98,9 +98,9 @@ @rtype str """ if isException: - return os.path.join(Globals.getConfigDir(), "spelling", "pel.dic") + return os.path.join(EricUtilities.getConfigDir(), "spelling", "pel.dic") else: - return os.path.join(Globals.getConfigDir(), "spelling", "pwl.dic") + return os.path.join(EricUtilities.getConfigDir(), "spelling", "pwl.dic") @classmethod def getUserDictionaryPath(cls, isException=False):