diff options
author | Adam Novak | 2020-04-17 11:36:28 -0700 |
---|---|---|
committer | Adam Novak | 2020-04-17 11:36:28 -0700 |
commit | 6c09aa8e672acd8c0deb593150ab3d0e5893d2ae (patch) | |
tree | 10d40ef91993ef3cc7f636404ab763f300395b28 /bh20simplewebuploader | |
parent | ea55ccc246a032e9c32e0899785da068be2e8dc5 (diff) | |
download | bh20-seq-resource-6c09aa8e672acd8c0deb593150ab3d0e5893d2ae.tar.gz bh20-seq-resource-6c09aa8e672acd8c0deb593150ab3d0e5893d2ae.tar.lz bh20-seq-resource-6c09aa8e672acd8c0deb593150ab3d0e5893d2ae.zip |
Correct maximum file size message
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r-- | bh20simplewebuploader/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 253f0e5..c7f63ea 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -25,7 +25,7 @@ app.config['MAX_CONTENT_LENGTH'] = 50 * 1024 * 1024 @app.errorhandler(413) def handle_large_file(e): return (render_template('error.html', - error_message="One of your files is too large. The maximum file size is 1 megabyte."), 413) + error_message="One of your files is too large. The maximum file size is 50 megabytes."), 413) def type_to_heading(type_name): |