src/eric7/eric7_ide.py

branch
eric7
changeset 9399
fcf9b48d8a0e
parent 9377
b9c8dc3b7da1
child 9413
80c06d472826
equal deleted inserted replaced
9398:b5426d4f2187 9399:fcf9b48d8a0e
32 "--disable-crash", 32 "--disable-crash",
33 "--disable-plugin", 33 "--disable-plugin",
34 ] 34 ]
35 restartArgs = [arg for arg in sys.argv[1:] if arg.split("=", 1)[0] in restartArgsList] 35 restartArgs = [arg for arg in sys.argv[1:] if arg.split("=", 1)[0] in restartArgsList]
36 36
37 sys.path.insert(1, os.path.dirname(__file__)) 37 if os.path.dirname(__file__) not in sys.path:
38 sys.path.insert(1, os.path.dirname(__file__))
38 39
39 try: 40 try:
40 from PyQt6.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication 41 from PyQt6.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication
41 except ImportError: 42 except ImportError:
42 try: 43 try:

eric ide

mercurial