aboutsummaryrefslogtreecommitdiff
path: root/gn3/api/general.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-03-03 10:59:32 +0300
committerBonfaceKilz2021-03-08 21:09:58 +0300
commitb7a57dc5a97403906ee43e2fecac641611cf5ab8 (patch)
treeb7da01ae33f984f571dad31ed5b1e31ce4b920b3 /gn3/api/general.py
parent9dff9888f81b7eec0e698466518ce4cb55b8bd8c (diff)
downloadgenenetwork3-b7a57dc5a97403906ee43e2fecac641611cf5ab8.tar.gz
Replace APP_DEFAULTS dict with actual conf params
Diffstat (limited to 'gn3/api/general.py')
-rw-r--r--gn3/api/general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/api/general.py b/gn3/api/general.py
index 91a113c..d05d6f4 100644
--- a/gn3/api/general.py
+++ b/gn3/api/general.py
@@ -25,7 +25,7 @@ week. If a TOKEN is not provided, generate a token for the new user.
status = 201
results = extract_uploaded_file(
gzipped_file=file_,
- target_dir=current_app.config["APP_DEFAULTS"].get("TMPDIR"),
+ target_dir=current_app.config["TMPDIR"],
token=token)
if results.get("status") > 0:
status = 500