From d973f82248fd9ea0ca9447c2d8296cd8828ea408 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 21 Jan 2025 14:53:18 -0600 Subject: Use sanitised names derived from original names. --- uploader/phenotypes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uploader') 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) -- cgit v1.2.3