summaryrefslogtreecommitdiff
path: root/matweb/frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'matweb/frontend.py')
-rw-r--r--matweb/frontend.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/matweb/frontend.py b/matweb/frontend.py
index 395606f..018fc97 100644
--- a/matweb/frontend.py
+++ b/matweb/frontend.py
@@ -86,7 +86,7 @@ def upload_file():
86 download_uri=url_for('routes.download_file', key=key, secret=secret, filename=output_filename), 86 download_uri=url_for('routes.download_file', key=key, secret=secret, filename=output_filename),
87 meta_after=meta_after, 87 meta_after=meta_after,
88 ) 88 )
89 except (RuntimeError, ValueError): 89 except (RuntimeError, ValueError, AttributeError):
90 flash('The type %s could not 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)