Ensure app variable is writeable

Arg python...

Change-Id: I37fd3bbb389d62e4a1f489a7b9111757dcd4a959
This commit is contained in:
Joshua Harlow 2018-08-27 09:48:36 -07:00
parent 638d26ea2d
commit 8678470229
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ log = logging.getLogger(__name__)
def application(environ, start_response):
global app
if 'ANSIBLE_CONFIG' in environ:
os.environ['ANSIBLE_CONFIG'] = environ['ANSIBLE_CONFIG']
else: