--- a/src/eric7/QScintilla/Lexers/LexerPython.py Tue Oct 18 16:05:20 2022 +0200 +++ b/src/eric7/QScintilla/Lexers/LexerPython.py Tue Oct 18 16:06:21 2022 +0200 @@ -13,7 +13,7 @@ from PyQt6.Qsci import QsciLexerPython, QsciScintilla from .SubstyledLexer import SubstyledLexer -import Preferences +from eric7 import Preferences class LexerPython(SubstyledLexer, QsciLexerPython):