Skip to content
Snippets Groups Projects
Commit ae37f758 authored by erichard's avatar erichard
Browse files

refactor name : evironment variable UserOption->LABELSTOWER_USER_OPTION

parent e7b2ed5f
No related branches found
No related tags found
1 merge request!69User option
......@@ -29,7 +29,7 @@ EXPOSE 5000
ENV FLASK_APP=test/demo
ENV FLASK_ENV=development
ENV UserOption=false
ENV LABELSTOWER_USER_OPTION=false
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
......
......@@ -5,7 +5,7 @@ from typing import Dict, List
from .request_db import send_query_to_db
from . import bp
if(os.environ["UserOption"]=="true"):
if(os.environ["LABELSTOWER_USER_OPTION"]=="true"):
from .sqlStmtUserOption import queries, FORBIDEN_LABEL_ONLY, ALL_LABEL_TYPE
else:
from .sqlStmt import queries, FORBIDEN_LABEL_ONLY, ALL_LABEL_TYPE
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment