From d8c4de473ca4b5a54e532b3fcb0de7c3023251b0 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 7 Aug 2017 10:14:51 +0200 Subject: [PATCH] don't get unused error --- pandora_client/server.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pandora_client/server.py b/pandora_client/server.py index 1348997..872103d 100644 --- a/pandora_client/server.py +++ b/pandora_client/server.py @@ -135,7 +135,6 @@ class Server(Resource): def render_POST(self, request): if request.path.startswith(b'/status'): oshash = request.path.decode().split('/')[-1] - error = request.args['error'] self.update_status(oshash, 'failed') return self.render_json(request, {}) request.setResponseCode(404)