updated static variable name
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ from shared.utils import check_env, setup_logging
|
||||
from .app import init_app
|
||||
|
||||
# ensure env vars set
|
||||
var_list = {
|
||||
NECESSARY_ENV_VAR_LIST = {
|
||||
'MONGO_HOST',
|
||||
'MONGO_DB',
|
||||
'MONGO_COLLECTION',
|
||||
@@ -25,7 +25,7 @@ var_list = {
|
||||
'MINIO_BUCKET_NAME',
|
||||
'MINIO_BUCKET_NAME_MODELS',
|
||||
}
|
||||
check_env(var_list)
|
||||
check_env(NECESSARY_ENV_VAR_LIST)
|
||||
|
||||
# setup logging stream handler
|
||||
setup_logging()
|
||||
|
||||
Reference in New Issue
Block a user