Skip to content

Commit

Permalink
Merge pull request getredash#1865 from msnider/bug/salesforce-sandbox
Browse files Browse the repository at this point in the history
Fix bug getting the Salesforce sandbox parameter
  • Loading branch information
arikfr authored Jul 3, 2017
2 parents fd798dd + 812177a commit 2b6fe22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/query_runner/salesforce.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def _get_sf(self):
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

Expand Down

0 comments on commit 2b6fe22

Please sign in to comment.