mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-05-10 10:15:10 -04:00
Fix a crash spotted by smagnin@
This commit is contained in:
parent
3349293eec
commit
af0ad6520b
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -85,7 +85,7 @@ def upload_file():
|
||||||
meta = parser.get_meta()
|
meta = parser.get_meta()
|
||||||
|
|
||||||
if parser.remove_all() is not True:
|
if parser.remove_all() is not True:
|
||||||
flash('Unable to clean ' % mime)
|
flash('Unable to clean %s' % mime)
|
||||||
return redirect(url_for('upload_file'))
|
return redirect(url_for('upload_file'))
|
||||||
output_filename = os.path.basename(parser.output_filename)
|
output_filename = os.path.basename(parser.output_filename)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue