summaryrefslogtreecommitdiff
path: root/matweb/frontend.py
diff options
context:
space:
mode:
authorjfriedli2022-01-24 19:43:12 +0000
committerjfriedli2022-01-24 19:43:12 +0000
commit71b00c20981eccf92ab7af0dc311543f077e327f (patch)
tree6094c2c110395743165853a4706bb0139be9c1b0 /matweb/frontend.py
parent8689aa3c3144dbe6a7b67facd176cf0d7dbf8cc6 (diff)
Bugfix catch attribute errors and updated dependencies
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)