summaryrefslogtreecommitdiff
path: root/matweb/frontend.py
diff options
context:
space:
mode:
authorJfriedli2021-03-21 17:26:05 +0100
committerJfriedli2021-03-21 17:26:05 +0100
commitee54e2fff482beeef3fb6fde2efa085a89b635b2 (patch)
tree284ac81473951582113d511fb91aec582bc062e2 /matweb/frontend.py
parent02b05caae841ba7ff493ddf8cbb877bb0a6c04e9 (diff)
fixed a typo
Diffstat (limited to '')
-rw-r--r--matweb/frontend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/matweb/frontend.py b/matweb/frontend.py
index 7a3037d..d29a2fb 100644
--- a/matweb/frontend.py
+++ b/matweb/frontend.py
@@ -87,7 +87,7 @@ def upload_file():
87 meta_after=meta_after, 87 meta_after=meta_after,
88 ) 88 )
89 except (RuntimeError, ValueError): 89 except (RuntimeError, ValueError):
90 flash('The type %s could no be cleaned' % mime) 90 flash('The type %s could not be cleaned' % mime)
91 91
92 max_file_size = int(current_app.config['MAX_CONTENT_LENGTH'] / 1024 / 1024) 92 max_file_size = int(current_app.config['MAX_CONTENT_LENGTH'] / 1024 / 1024)
93 return render_template('index.html', max_file_size=max_file_size, mimetypes=mime_types) \ No newline at end of file 93 return render_template('index.html', max_file_size=max_file_size, mimetypes=mime_types) \ No newline at end of file