[conf] sets the HALFAPI_PROD environment variable
This commit is contained in:
parent
30651ec19b
commit
2389d67749
|
@ -54,4 +54,6 @@ if IS_PROJECT:
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
PRODUCTION = config.getboolean('project', 'production')
|
PRODUCTION = config.getboolean('project', 'production')
|
||||||
|
os.environ['HALFAPI_PROD'] = str(PRODUCTION)
|
||||||
|
|
||||||
BASE_DIR = config.get('project', 'base_dir')
|
BASE_DIR = config.get('project', 'base_dir')
|
||||||
|
|
Loading…
Reference in New Issue