Fix os.environ call

This commit is contained in:
Ramon Wenger 2019-03-29 16:45:43 +01:00
parent 47572bb212
commit ba436f8186
1 changed files with 1 additions and 1 deletions

View File

@ -350,6 +350,6 @@ GRAPHQL_MUTATIONS_DIR = os.path.join(GRAPHQL_QUERIES_DIR, 'mutations')
EMAIL_BACKEND = 'sendgrid_backend.SendgridBackend'
SENDGRID_API_KEY = os.environ["SENDGRID_API_KEY"]
SENDGRID_API_KEY = os.environ.get("SENDGRID_API_KEY")
SENDGRID_SANDBOX_MODE_IN_DEBUG = False
DEFAULT_FROM_EMAIL='noreply@myskillbox.ch'