From c1dc2628a011a236db7c9925cd320cb342199593 Mon Sep 17 00:00:00 2001 From: pdehaye Date: Tue, 18 Jun 2013 00:52:23 +0200 Subject: [PATCH] need to import os --- cms/envs/dev.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cms/envs/dev.py b/cms/envs/dev.py index 6327d442d2..07630bdf31 100644 --- a/cms/envs/dev.py +++ b/cms/envs/dev.py @@ -172,6 +172,7 @@ MITX_FEATURES['ENABLE_SERVICE_STATUS'] = True # If there's an environment variable set, grab it and turn on Segment.io # Note that this is the Studio key. There is a separate key for the LMS. +import os SEGMENT_IO_KEY = os.environ.get('SEGMENT_IO_KEY') if SEGMENT_IO_KEY: MITX_FEATURES['SEGMENT_IO'] = True