diff options
| author | jfriedli | 2022-01-24 19:43:12 +0000 |
|---|---|---|
| committer | jfriedli | 2022-01-24 19:43:12 +0000 |
| commit | 71b00c20981eccf92ab7af0dc311543f077e327f (patch) | |
| tree | 6094c2c110395743165853a4706bb0139be9c1b0 /matweb/frontend.py | |
| parent | 8689aa3c3144dbe6a7b67facd176cf0d7dbf8cc6 (diff) | |
Bugfix catch attribute errors and updated dependencies
Diffstat (limited to '')
| -rw-r--r-- | matweb/frontend.py | 2 |
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) |
