From 899cea9e970014020374e84659ebdbd7f897378a Mon Sep 17 00:00:00 2001 From: Marco De Donno <Marco.DeDonno@unil.ch> Date: Fri, 9 Mar 2018 14:33:00 +0100 Subject: [PATCH] Add the .xml file extension in the allowed files --- module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.py b/module.py index d3bdb35..8880605 100644 --- a/module.py +++ b/module.py @@ -16,7 +16,7 @@ Compress( api ) UPLOAD_FOLDER = os.path.join( tempfile.gettempdir(), "NIST" ) api.config[ 'UPLOAD_FOLDER' ] = UPLOAD_FOLDER -ALLOWED_EXTENSIONS = [ '.nist', '.nst' ] +ALLOWED_EXTENSIONS = [ '.nist', '.nst', '.xml' ] ################################################################################ # Generic routing -- GitLab