diff options
| author | jvoisin | 2019-05-06 20:48:04 +0200 |
|---|---|---|
| committer | jvoisin | 2019-05-06 20:48:04 +0200 |
| commit | af0ad6520bd174ec47fbc0d1ba5f02ab952ce38d (patch) | |
| tree | 682f72d13d136fc5186fbe1ceac0a42ad5b9e039 /main.py | |
| parent | 3349293eec5e97f3202e729c3f0cb52f5ef049ea (diff) | |
Fix a crash spotted by smagnin@
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -85,7 +85,7 @@ def upload_file(): | |||
| 85 | meta = parser.get_meta() | 85 | meta = parser.get_meta() |
| 86 | 86 | ||
| 87 | if parser.remove_all() is not True: | 87 | if parser.remove_all() is not True: |
| 88 | flash('Unable to clean ' % mime) | 88 | flash('Unable to clean %s' % mime) |
| 89 | return redirect(url_for('upload_file')) | 89 | return redirect(url_for('upload_file')) |
| 90 | output_filename = os.path.basename(parser.output_filename) | 90 | output_filename = os.path.basename(parser.output_filename) |
| 91 | 91 | ||
