eric7/eric7.py

branch
eric7
changeset 8899
764178f2124d
parent 8881
54e42bc2437a
child 8973
ad4848b7fd9b
diff -r cf11386c25ec -r 764178f2124d eric7/eric7.py
--- a/eric7/eric7.py	Mon Jan 03 17:57:07 2022 +0100
+++ b/eric7/eric7.py	Tue Jan 04 15:52:14 2022 +0100
@@ -27,6 +27,8 @@
 restartArgs = [arg for arg in sys.argv[1:]
                if arg.split("=", 1)[0] in restartArgsList]
 
+sys.path.insert(1, os.path.dirname(__file__))
+
 try:
     from PyQt6.QtCore import qWarning, QLibraryInfo, QTimer, QCoreApplication
 except ImportError:

eric ide

mercurial