QScintilla/APIsManager.py

changeset 2614
9c49b4419ea7
parent 2608
01118174a2f5
child 2677
3d4277929fb3
child 3011
18292228c724
--- a/QScintilla/APIsManager.py	Tue Apr 23 19:13:45 2013 +0200
+++ b/QScintilla/APIsManager.py	Tue Apr 23 19:57:07 2013 +0200
@@ -14,7 +14,7 @@
 
 from . import Lexers
 import Preferences
-import Utilities
+import Globals
 
 
 class APIs(QObject):
@@ -165,9 +165,8 @@
         @return list of installed API files (list of strings)
         """
         if self.__apis is not None:
-            if Utilities.isWindowsPlatform():
-                qsciPath = os.path.join(Utilities.getPythonModulesDirectory(),
-                                        "PyQt4", "qsci")
+            if Globals.isWindowsPlatform():
+                qsciPath = os.path.join(Globals.getPyQt4ModulesDirectory(), "qsci")
                 if os.path.exists(qsciPath):
                     # it's the installer
                     apidir = os.path.join(qsciPath, "api", self.__lexer.lexer())

eric ide

mercurial