diff options
| author | Jan Friedli | 2020-09-13 16:57:28 +0200 |
|---|---|---|
| committer | Jan Friedli | 2020-09-13 16:57:28 +0200 |
| commit | 31677332160dc15ecb6505fab3b38fa6f5d6acaf (patch) | |
| tree | 5830a4fdb8b37997bd63e7c816a107d3d0a7ef60 /matweb/rest_api.py | |
| parent | f93a79346909e853a4b9f4c7626df1df9f3df79f (diff) | |
removed unsued var
Diffstat (limited to 'matweb/rest_api.py')
| -rw-r--r-- | matweb/rest_api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/matweb/rest_api.py b/matweb/rest_api.py index ef1a55a..c8edead 100644 --- a/matweb/rest_api.py +++ b/matweb/rest_api.py | |||
| @@ -68,7 +68,7 @@ class APIUpload(Resource): | |||
| 68 | _external=True | 68 | _external=True |
| 69 | ) | 69 | ) |
| 70 | ), 201 | 70 | ), 201 |
| 71 | except (ValueError, RuntimeError) as e: | 71 | except (ValueError, RuntimeError): |
| 72 | current_app.logger.error('Upload - Cleaning failed with mime: %s', mime) | 72 | current_app.logger.error('Upload - Cleaning failed with mime: %s', mime) |
| 73 | abort(400, message='Unable to clean %s' % mime) | 73 | abort(400, message='Unable to clean %s' % mime) |
| 74 | 74 | ||
