summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--matweb/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/matweb/utils.py b/matweb/utils.py
index ea84f4f..f4cbca3 100644
--- a/matweb/utils.py
+++ b/matweb/utils.py
@@ -99,7 +99,7 @@ def get_file_paths(filename, upload_folder):
99 99
100def is_valid_api_download_file(filename: str, key: str, secret: str, upload_folder: str) -> [str, str]: 100def is_valid_api_download_file(filename: str, key: str, secret: str, upload_folder: str) -> [str, str]:
101 if filename != secure_filename(filename): 101 if filename != secure_filename(filename):
102 current_app.logger.error('Insecure filename %', filename) 102 current_app.logger.error('Insecure filename %s', filename)
103 abort(400, message='Insecure filename') 103 abort(400, message='Insecure filename')
104 104
105 complete_path, filepath = get_file_paths(filename, upload_folder) 105 complete_path, filepath = get_file_paths(filename, upload_folder)