[conf] sets the HALFAPI_PROD environment variable

This commit is contained in:
Maxime Alves LIRMM 2020-08-26 14:06:53 +02:00
parent 30651ec19b
commit 2389d67749
1 changed files with 2 additions and 0 deletions

View File

@ -54,4 +54,6 @@ if IS_PROJECT:
sys.exit(1)
PRODUCTION = config.getboolean('project', 'production')
os.environ['HALFAPI_PROD'] = str(PRODUCTION)
BASE_DIR = config.get('project', 'base_dir')