aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-01-21 14:53:18 -0600
committerFrederick Muriuki Muriithi2025-01-21 14:53:18 -0600
commitd973f82248fd9ea0ca9447c2d8296cd8828ea408 (patch)
tree49e0fc38f8db7b0348590476c3e09f74215be360
parent6ff5fa52c08d825c4ac275a75b228f3b4bf83eff (diff)
downloadgn-uploader-main.tar.gz
Use sanitised names derived from original names.HEADmain
-rw-r--r--uploader/phenotypes/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py
index 400baa6..ec4c840 100644
--- a/uploader/phenotypes/views.py
+++ b/uploader/phenotypes/views.py
@@ -362,7 +362,7 @@ def process_phenotypes_individual_files(error_uri):
return error_uri
filepath = save_file(
- _sentfile, Path(app.config["UPLOAD_FOLDER"]))
+ _sentfile, Path(app.config["UPLOAD_FOLDER"]), hashed=False)
zfile.write(
Path(app.config["UPLOAD_FOLDER"], filepath),
arcname=filepath.name)