--- 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())