Skip to content

Commit

Permalink
picking up whitelisted emails
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolis Rusenas committed Aug 18, 2015
1 parent aaa8b6b commit 3eb6ada
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ def __init__(self):
settings[key] = value
except Exception as ex:
print("Failed to get Salesforce report details: %s" % ex)

# get report whitelist
if 'salesForceWhitelist' in document:
settings['sFwhitelist'] = document['salesForceWhitelist']

tornado.web.Application.__init__(self, url_patterns, **settings)


Expand Down

0 comments on commit 3eb6ada

Please sign in to comment.