From 31677332160dc15ecb6505fab3b38fa6f5d6acaf Mon Sep 17 00:00:00 2001 From: Jan Friedli Date: Sun, 13 Sep 2020 16:57:28 +0200 Subject: [PATCH] removed unsued var --- matweb/rest_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): _external=True ) ), 201 - except (ValueError, RuntimeError) as e: + except (ValueError, RuntimeError): current_app.logger.error('Upload - Cleaning failed with mime: %s', mime) abort(400, message='Unable to clean %s' % mime)