Merge pull request #1865 from msnider/bug/salesforce-sandbox

Fix bug getting the Salesforce sandbox parameter
This commit is contained in:
Arik Fraimovich
2017-07-03 23:21:48 +03:00
committed by GitHub

View File

@@ -92,7 +92,7 @@ class Salesforce(BaseQueryRunner):
sf = SimpleSalesforce(username=self.configuration['username'],
password=self.configuration['password'],
security_token=self.configuration['token'],
sandbox=self.configuration['sandbox'],
sandbox=self.configuration.get('sandbox', False),
client_id='Redash')
return sf