don't get unused error

This commit is contained in:
j 2017-08-07 10:14:51 +02:00
parent 6c027c344e
commit d8c4de473c

View file

@ -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)