Change AUTH_TOKENS index reference to a get so it doesn't explode the whole app if I did Puppet incorrectly.

This commit is contained in:
David Ormsbee
2012-11-07 17:36:50 -05:00
parent 4b02b2af2a
commit ab0e7cf4ae

View File

@@ -80,4 +80,4 @@ if 'COURSE_ID' in ENV_TOKENS:
ASKBOT_URL = "courses/{0}/discussions/".format(ENV_TOKENS['COURSE_ID'])
PEARSON_TEST_USER = "pearsontest"
PEARSON_TEST_PASSWORD = AUTH_TOKENS["PEARSON_TEST_PASSWORD"]
PEARSON_TEST_PASSWORD = AUTH_TOKENS.get("PEARSON_TEST_PASSWORD")