src/eric7/QScintilla/SpellChecker.py

branch
eric7
changeset 10926
9ef616cd220d
parent 10683
779cda568acb
child 11090
f5f5f5803935
--- 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):

eric ide

mercurial