src/eric7/CondaInterface/CondaExecDialog.py

branch
eric7
changeset 10806
2f6df822e3b9
parent 10689
3ede487187f2
child 11090
f5f5f5803935
--- a/src/eric7/CondaInterface/CondaExecDialog.py	Sun Jun 30 15:37:49 2024 +0200
+++ b/src/eric7/CondaInterface/CondaExecDialog.py	Sun Jun 30 17:58:31 2024 +0200
@@ -12,7 +12,7 @@
 from PyQt6.QtCore import QProcess, QTimer, pyqtSlot
 from PyQt6.QtWidgets import QAbstractButton, QDialog, QDialogButtonBox
 
-from eric7 import Globals, Preferences
+from eric7 import EricUtilities, Preferences
 from eric7.EricWidgets import EricMessageBox
 
 from .Ui_CondaExecDialog import Ui_CondaExecDialog
@@ -201,7 +201,7 @@
                 self.progressBar.setMaximum(jsonDict["maxval"])
                 self.progressBar.setValue(jsonDict["progress"])
                 filename = jsonDict["fetch"].strip()
-                filesize = Globals.dataString(int(jsonDict["maxval"]))
+                filesize = EricUtilities.dataString(int(jsonDict["maxval"]))
 
             self.progressLabel.setText(
                 self.tr("{0} (Size: {1})").format(filename, filesize)

eric ide

mercurial