eric7/Utilities/__init__.py

branch
eric7
changeset 8975
ae4c3da05550
parent 8966
c6f67dbc6ee7
child 9016
6f079c524e99
diff -r 92c7bffbcf1e -r ae4c3da05550 eric7/Utilities/__init__.py
--- a/eric7/Utilities/__init__.py	Fri Mar 11 19:15:16 2022 +0100
+++ b/eric7/Utilities/__init__.py	Sun Mar 13 12:46:57 2022 +0100
@@ -1989,9 +1989,9 @@
     
     sysPath = []
     
-    getSysPath = os.path.join(
-        getConfig('ericDir'), "Utilities", "GetSysPath.py")
-    args = [getSysPath]
+    getSysPathSkript = os.path.join(
+        os.path.dirname(__file__), "GetSysPath.py")
+    args = [getSysPathSkript]
     proc = QProcess()
     proc.setProcessChannelMode(QProcess.ProcessChannelMode.MergedChannels)
     proc.start(interpreter, args)

eric ide

mercurial