mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-12 19:22:21 -04:00
Added Non-Ascii filename support
This commit is contained in:
parent
a5715f9f8c
commit
1035a24707
4 changed files with 30 additions and 10 deletions
|
@ -68,7 +68,7 @@ def upload_file():
|
|||
parser, mime = utils.get_file_parser(filepath)
|
||||
except ValueError:
|
||||
flash('The filetype is not supported')
|
||||
current_app.logger.error('Unsupported filetype',)
|
||||
current_app.logger.error('Unsupported filetype')
|
||||
return redirect(url_for('routes.upload_file'))
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue