31 CLIENT_SECRET_FILE = 'eric_client_secret.json' |
31 CLIENT_SECRET_FILE = 'eric_client_secret.json' |
32 CREDENTIALS_FILE = 'eric-python-email-send.pickle' |
32 CREDENTIALS_FILE = 'eric-python-email-send.pickle' |
33 APPLICATION_NAME = 'Eric Python Send Email' |
33 APPLICATION_NAME = 'Eric Python Send Email' |
34 |
34 |
35 |
35 |
36 # TODO: rework this to use "requests-outhlib" and a minimalistic web browser |
|
37 # window for authorization |
|
38 def isClientSecretFileAvailable(): |
36 def isClientSecretFileAvailable(): |
39 """ |
37 """ |
40 Module function to check, if the client secret file has been installed. |
38 Module function to check, if the client secret file has been installed. |
41 |
39 |
42 @return flag indicating, that the credentials file is there |
40 @return flag indicating, that the credentials file is there |