diff options
| author | jfriedli | 2025-01-12 12:11:06 +0000 |
|---|---|---|
| committer | jfriedli | 2025-01-12 12:11:06 +0000 |
| commit | 1035a24707276a97c75a6fd1ecf9f425fb01fc10 (patch) | |
| tree | 5543133f4c6b8d15fb438e244a21091450fa5822 /matweb/frontend.py | |
| parent | a5715f9f8cecaa74a5f5f385b63631d15102567c (diff) | |
Added Non-Ascii filename support
Diffstat (limited to 'matweb/frontend.py')
| -rw-r--r-- | matweb/frontend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matweb/frontend.py b/matweb/frontend.py index 018fc97..ec9ef23 100644 --- a/matweb/frontend.py +++ b/matweb/frontend.py | |||
| @@ -68,7 +68,7 @@ def upload_file(): | |||
| 68 | parser, mime = utils.get_file_parser(filepath) | 68 | parser, mime = utils.get_file_parser(filepath) |
| 69 | except ValueError: | 69 | except ValueError: |
| 70 | flash('The filetype is not supported') | 70 | flash('The filetype is not supported') |
| 71 | current_app.logger.error('Unsupported filetype',) | 71 | current_app.logger.error('Unsupported filetype') |
| 72 | return redirect(url_for('routes.upload_file')) | 72 | return redirect(url_for('routes.upload_file')) |
| 73 | 73 | ||
| 74 | try: | 74 | try: |
