src/eric7/EricNetwork/EricGoogleMailHelpers.py

branch
eric7
changeset 9221
bf71ee032bb4
parent 9209
b99e7fd55fd3
child 9413
80c06d472826
diff -r e9e7eca7efee -r bf71ee032bb4 src/eric7/EricNetwork/EricGoogleMailHelpers.py
--- a/src/eric7/EricNetwork/EricGoogleMailHelpers.py	Wed Jul 13 11:16:20 2022 +0200
+++ b/src/eric7/EricNetwork/EricGoogleMailHelpers.py	Wed Jul 13 14:55:47 2022 +0200
@@ -11,10 +11,10 @@
 
 import Globals
 
-SCOPES = 'https://www.googleapis.com/auth/gmail.send'
-CLIENT_SECRET_FILE = 'eric_client_secret.json'          # secok
-TOKEN_FILE = 'eric_python_email_send_token.json'        # secok
-APPLICATION_NAME = 'Eric Python Send Email'
+SCOPES = "https://www.googleapis.com/auth/gmail.send"
+CLIENT_SECRET_FILE = "eric_client_secret.json"  # secok
+TOKEN_FILE = "eric_python_email_send_token.json"  # secok
+APPLICATION_NAME = "Eric Python Send Email"
 
 RequiredPackages = (
     "google-api-python-client",
@@ -25,23 +25,21 @@
 def isClientSecretFileAvailable():
     """
     Module function to check, if the client secret file has been installed.
-    
+
     @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(Globals.getConfigDir(), CLIENT_SECRET_FILE))
 
 
 def getInstallCommand():
     """
     Module function to get the install command to get the Google mail support
     activated.
-    
+
     @return install command
     @rtype str
     """
-    pipCommand = "pip install --upgrade {0}".format(
-        " ".join(RequiredPackages))
-    
+    pipCommand = "pip install --upgrade {0}".format(" ".join(RequiredPackages))
+
     return pipCommand

eric ide

mercurial