src/eric7/Project/CreateDialogCodeDialog.py

branch
eric7
changeset 9624
b47dfa7a137d
parent 9602
28e7f6cdf385
child 9653
e67609152c5e
diff -r 9c1f429cb56b -r b47dfa7a137d src/eric7/Project/CreateDialogCodeDialog.py
--- a/src/eric7/Project/CreateDialogCodeDialog.py	Sun Dec 18 14:19:10 2022 +0100
+++ b/src/eric7/Project/CreateDialogCodeDialog.py	Sun Dec 18 19:33:46 2022 +0100
@@ -23,10 +23,11 @@
 from PyQt6.QtGui import QBrush, QColor, QStandardItem, QStandardItemModel
 from PyQt6.QtWidgets import QDialog, QDialogButtonBox
 
-from eric7 import Globals, Preferences
+from eric7 import Preferences
 from eric7.EricWidgets import EricMessageBox
 from eric7.EricWidgets.EricApplication import ericApp
 from eric7.Globals import getConfig
+from eric7.SystemUtilities import PythonUtilities
 from eric7.Utilities import ModuleParser
 
 from .NewDialogClassDialog import NewDialogClassDialog
@@ -185,7 +186,7 @@
         execPath = venvManager.getVirtualenvExecPath(venvName)
 
         if not interpreter:
-            interpreter = Globals.getPythonExecutable()
+            interpreter = PythonUtilities.getPythonExecutable()
 
         env = QProcessEnvironment.systemEnvironment()
         if execPath:

eric ide

mercurial