aboutsummaryrefslogtreecommitdiff
path: root/gn3/app.py
diff options
context:
space:
mode:
authorPjotr Prins2024-04-02 16:31:02 +0200
committerFrederick Muriuki Muriithi2024-09-12 07:40:03 -0500
commitd623d931046495239c7ce9ec3024e028b2f26fde (patch)
treef8c78773285466b3d706909ddb6a9002c1587505 /gn3/app.py
parent8fa885e66c9e31fc1b0a5329c6b061cf017995c8 (diff)
downloadgenenetwork3-d623d931046495239c7ce9ec3024e028b2f26fde.tar.gz
Mistake using envvar
Diffstat (limited to 'gn3/app.py')
-rw-r--r--gn3/app.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gn3/app.py b/gn3/app.py
index 955a9b3..d7fcbea 100644
--- a/gn3/app.py
+++ b/gn3/app.py
@@ -58,9 +58,6 @@ def create_app(config: Union[Dict, str, None] = None) -> Flask:
logging.info("Guix Profile: '%s'.", os.environ.get("GUIX_PROFILE"))
logging.info("Python Executable: '%s'.", sys.executable)
- if "TMPDIR" in os.environ:
- app.config.from_envvar('TMPDIR')
-
CORS(
app,
origins=app.config["CORS_ORIGINS"],