Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,12 +15,12 @@ credentials = service_account.Credentials.from_service_account_file(
|
|
| 15 |
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
|
| 16 |
drive_service = build('drive', 'v3', credentials=credentials)
|
| 17 |
|
|
|
|
| 18 |
# Salesforce Authentication
|
| 19 |
sf = Salesforce(
|
| 20 |
username=os.getenv('SF_USERNAME'),
|
| 21 |
password=os.getenv('SF_PASSWORD'),
|
| 22 |
-
security_token=os.getenv('SF_SECURITY_TOKEN')
|
| 23 |
-
domain='login'
|
| 24 |
)
|
| 25 |
|
| 26 |
# Using a temporary directory to save retrieved files
|
|
|
|
| 15 |
SERVICE_ACCOUNT_FILE, scopes=SCOPES)
|
| 16 |
drive_service = build('drive', 'v3', credentials=credentials)
|
| 17 |
|
| 18 |
+
domain='login'
|
| 19 |
# Salesforce Authentication
|
| 20 |
sf = Salesforce(
|
| 21 |
username=os.getenv('SF_USERNAME'),
|
| 22 |
password=os.getenv('SF_PASSWORD'),
|
| 23 |
+
security_token=os.getenv('SF_SECURITY_TOKEN')
|
|
|
|
| 24 |
)
|
| 25 |
|
| 26 |
# Using a temporary directory to save retrieved files
|