src/eric7/EricNetwork/EricGoogleMailHelpers.py

branch
eric7
changeset 10926
9ef616cd220d
parent 10439
21c28b0f9e41
child 10928
46651e194fbe
--- a/src/eric7/EricNetwork/EricGoogleMailHelpers.py	Wed Sep 25 14:07:40 2024 +0200
+++ b/src/eric7/EricNetwork/EricGoogleMailHelpers.py	Wed Sep 25 14:48:57 2024 +0200
@@ -9,7 +9,7 @@
 
 import os
 
-from eric7 import Globals
+from eric7 import EricUtilities
 from eric7.EricWidgets.EricApplication import ericApp
 from eric7.SystemUtilities import PythonUtilities
 
@@ -32,7 +32,9 @@
     @return flag indicating, that the credentials file is there
     @rtype bool
     """
-    return os.path.exists(os.path.join(Globals.getConfigDir(), CLIENT_SECRET_FILE))
+    return os.path.exists(
+        os.path.join(EricUtilities.getConfigDir(), CLIENT_SECRET_FILE)
+    )
 
 
 def installGoogleAPIPackages():

eric ide

mercurial